summaryrefslogtreecommitdiff
path: root/package/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-14 00:33:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-14 00:33:25 +0000
commit2da3f6a25641ed7442141ce07943afaaad3b8c31 (patch)
treecaee1a081d413e9ae89ceea521123b8cfa7e0d0e /package/Makefile
parent809bc0321fd97187df0ea2838caf857c56d3952a (diff)
downloadmtk-20170518-2da3f6a25641ed7442141ce07943afaaad3b8c31.zip
mtk-20170518-2da3f6a25641ed7442141ce07943afaaad3b8c31.tar.gz
mtk-20170518-2da3f6a25641ed7442141ce07943afaaad3b8c31.tar.bz2
fix the sdk
SVN-Revision: 9747
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/Makefile b/package/Makefile
index 1df4537..e618a90 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -10,9 +10,13 @@ curdir:=package
-include $(TMP_DIR)/.packagedeps
$(curdir)/builddirs:=$(sort $(package-) $(package-y) $(package-m))
-$(curdir)/builddirs-default:=. $(sort $(package-y) $(package-m))
-$(curdir)/builddirs-prereq:=. $(sort $(prereq-y) $(prereq-m))
-$(curdir)/builddirs-install:=. $(sort $(package-y))
+ifeq ($(SDK),1)
+ $(curdir)/builddirs-install:=.
+else
+ $(curdir)/builddirs-default:=. $(sort $(package-y) $(package-m))
+ $(curdir)/builddirs-prereq:=. $(sort $(prereq-y) $(prereq-m))
+ $(curdir)/builddirs-install:=. $(sort $(package-y))
+endif
$(curdir)/install:=$(curdir)/install-cleanup