diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-12-14 00:33:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-12-14 00:33:25 +0000 |
commit | b85354ab6e6dc6aca538379f2bd7962be9bd9e7a (patch) | |
tree | 4c6520daf312b09c3d797d2e2d73ed5aeb3e474b /package/Makefile | |
parent | f062d4a823410d4f91b20abf13e00c1128d28331 (diff) | |
download | upstream-b85354ab6e6dc6aca538379f2bd7962be9bd9e7a.tar.gz upstream-b85354ab6e6dc6aca538379f2bd7962be9bd9e7a.tar.bz2 upstream-b85354ab6e6dc6aca538379f2bd7962be9bd9e7a.zip |
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/Makefile | 10 |
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 |