summaryrefslogtreecommitdiff
path: root/package/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-14 00:33:25 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-14 00:33:25 +0000
commit7a694d4e5f8054d5c4b05fbed69fb1a38f387e29 (patch)
tree4c6520daf312b09c3d797d2e2d73ed5aeb3e474b /package/Makefile
parent9a371dce303c472a82fff666857a48a1022d16ec (diff)
fix the sdk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9747 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 1df4537dba..e618a90b69 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