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
51874848
Commit
51874848
authored
9 years ago
by
Kaspar Schleiser
Browse files
Options
Downloads
Patches
Plain Diff
pkg: wakaama: adapt to use pkg.mk
parent
7bff96c4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/wakaama/Makefile
+9
-27
9 additions, 27 deletions
pkg/wakaama/Makefile
with
9 additions
and
27 deletions
pkg/wakaama/Makefile
+
9
−
27
View file @
51874848
PKG_NAME
=
wakaama
PKG_URL
=
git://github.com/eclipse/wakaama.git
PKG_VERSION
=
69a32cfae39f66fe4eec4cc8d1cd48ced7ad447c
PKG_DIR
=
$(
CURDIR
)
/
$(
PKG_NAME
)
PKG_TEMP_DIR
=
$(
CURDIR
)
/temp
.PHONY
:
all
clean patch
.PHONY
:
all
all
:
patch
"
$(
MAKE
)
"
-C
$(
PKG_
DIR
)
"
$(
MAKE
)
"
-C
$(
PKG_
BUILDDIR
)
/riotbuild
patch
:
$(PKG_DIR)/Makefile
patch
:
download
mkdir
-p
"
$(
PKG_BUILDDIR
)
/riotbuild"
cp
$(
PKG_BUILDDIR
)
/core/
*
.c
$(
PKG_BUILDDIR
)
/core/
*
.h
$(
PKG_BUILDDIR
)
/riotbuild
cp
$(
PKG_BUILDDIR
)
/core/er-coap-13/
*
.c
$(
PKG_TEMP_DIR
)
/core/er-coap-13/
*
.h
$(
PKG_BUILDDIR
)
/riotbuild
$(PKG_DIR)/Makefile
:
$(PKG_TEMP_DIR)/.git/config
echo
'include
$$(
RIOTBASE
)
/Makefile.base'
>
$(
PKG_
DIR
)
/Makefile
echo 'MODULE
:
=wakaama' > $(PKG_BUILDDIR)/riotbuild/Makefile
echo
'include
$$(
RIOTBASE
)
/Makefile.base'
>
>
$(
PKG_
BUILDDIR
)
/riotbuild
/Makefile
$(PKG_TEMP_DIR)/.git/config
:
test
-d
"
$(
PKG_TEMP_DIR
)
"
||
$(
GITCACHE
)
clone
"
$(
PKG_URL
)
"
"
$(
PKG_VERSION
)
"
"
$(
PKG_TEMP_DIR
)
"
;
\
mkdir
-p
"
$(
PKG_DIR
)
"
;
\
cp
$(
PKG_TEMP_DIR
)
/core/
*
.c
$(
PKG_TEMP_DIR
)
/core/
*
.h
$(
PKG_DIR
);
\
cp
$(
PKG_TEMP_DIR
)
/core/er-coap-13/
*
.c
$(
PKG_TEMP_DIR
)
/core/er-coap-13/
*
.h
$(
PKG_DIR
);
\
rm
-Rf
"
$(
PKG_TEMP_DIR
)
"
clean
::
@
echo
"Cleaning up
$(
PKG_NAME
)
package..."
@
cd
"
$(
PKG_DIR
)
"
2> /dev/null
>
/dev/null
&&
\
git clean
-x
-f
&&
\
git am
--abort
&&
\
git reset
--hard
"
$(
PKG_VERSION
)
"
&&
\
$(
MAKE
)
patch
||
true
distclean
::
rm
-rf
"
$(
PKG_DIR
)
"
Makefile.include
:
@
true
include
$(RIOTBASE)/pkg/pkg.mk
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