Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
b98f97e9
Commit
b98f97e9
authored
9 years ago
by
Kaspar Schleiser
Browse files
Options
Downloads
Patches
Plain Diff
pkg: ccn-lite: adapt to use pkg.mk
parent
19cf3ed2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pkg/ccn-lite/Makefile
+7
-23
7 additions, 23 deletions
pkg/ccn-lite/Makefile
pkg/ccn-lite/Makefile.include
+1
-1
1 addition, 1 deletion
pkg/ccn-lite/Makefile.include
with
8 additions
and
24 deletions
pkg/ccn-lite/Makefile
+
7
−
23
View file @
b98f97e9
PKG_NAME
=
ccn-lite
PKG_NAME
=
ccn-lite
PKG_URL
=
https://github.com/OlegHahm/ccn-lite/
PKG_URL
=
https://github.com/OlegHahm/ccn-lite/
PKG_VERSION
=
39b1406c11de9de364220909488eebabe7e81613
PKG_VERSION
=
39b1406c11de9de364220909488eebabe7e81613
PKG_DIR
=
$(
CURDIR
)
/
$(
PKG_NAME
)
.PHONY
:
all
clean distclean
.PHONY
:
all
export
RIOT_CFLAGS
=
${
CFLAGS
}
${
INCLUDES
}
export
RIOT_CFLAGS
=
${
CFLAGS
}
${
INCLUDES
}
all
:
$(PKG_DIR)/Makefile
all
:
download
"
$(
MAKE
)
"
-BC
$(
PKG_DIR
)
/src lib-ccn-lite.a
"
$(
MAKE
)
"
-BC
$(
PKG_
BUILD
DIR
)
/src lib-ccn-lite.a
"
$(
MAKE
)
"
-BC
$(
PKG_DIR
)
/src lib-ccn-lite-utils.a
"
$(
MAKE
)
"
-BC
$(
PKG_
BUILD
DIR
)
/src lib-ccn-lite-utils.a
cp
$(
PKG_DIR
)
/src/lib-ccn-lite.a
${
BINDIR
}
/ccn-lite.a
cp
$(
PKG_
BUILD
DIR
)
/src/lib-ccn-lite.a
${
BINDIR
}
/ccn-lite.a
cp
$(
PKG_DIR
)
/src/lib-ccn-lite-utils.a
${
BINDIR
}
/ccn-lite-utils.a
cp
$(
PKG_
BUILD
DIR
)
/src/lib-ccn-lite-utils.a
${
BINDIR
}
/ccn-lite-utils.a
$(PKG_DIR)/Makefile
:
$(PKG_DIR)/.git/config
include
$(RIOTBASE)/pkg/pkg.mk
$(PKG_DIR)/.git/config
:
test
-d
"
$(
PKG_DIR
)
"
||
$(
GITCACHE
)
clone
"
$(
PKG_URL
)
"
"
$(
PKG_VERSION
)
"
"
$(
PKG_DIR
)
"
clean
::
@
echo
"Cleaning up CCN-Lite package..."
@
cd
"
$(
PKG_DIR
)
"
2> /dev/null
>
/dev/null
&&
\
git clean
-x
-f
&&
\
git reset
--hard
"
$(
PKG_VERSION
)
"
distclean
::
rm
-rf
"
$(
PKG_DIR
)
"
Makefile.include
:
@
true
This diff is collapsed.
Click to expand it.
pkg/ccn-lite/Makefile.include
+
1
−
1
View file @
b98f97e9
INCLUDES
+=
-I
$(
RIOTPKG
)
/ccn-lite
-I
$(
RIOTPKG
)
/ccn-lite
/ccn-lite/src
INCLUDES
+=
-I
$(
RIOTPKG
)
/ccn-lite
-I
$(
BINDIR
)
/pkg
/ccn-lite/src
INCLUDES
+=
-I
$(
RIOTBASE
)
/sys/posix/include
INCLUDES
+=
-I
$(
RIOTBASE
)
/sys/posix/include
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment