summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
commit98b7adfbd06f0f6bd99ca4805ca34250ee027fa1 (patch)
treea68345ba8ba7ee532e4b7426cadad31d7add24c0 /mk/build.mk
parent09d28322f4828a387eeee03d303c833eab8828c5 (diff)
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 3f0fca18e..b597dbc61 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -244,7 +244,7 @@ kernelconfig:
# create a new package from package/.template
newpackage:
@echo "Creating new package $(PKG)"
- $(CP) $(TOPDIR)/package/.template $(TOPDIR)/package/$(PKG)
+ $(CP) $(TOPDIR)/package/.template$(TYPE) $(TOPDIR)/package/$(PKG)
pkg=$$(echo $(PKG)|tr '[:lower:]-' '[:upper:]_'); \
$(SED) "s#@UPKG@#$$pkg#" $(TOPDIR)/package/$(PKG)/Makefile
$(SED) 's#@PKG@#$(PKG)#' $(TOPDIR)/package/$(PKG)/Makefile