aboutsummaryrefslogtreecommitdiffstats
path: root/package/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-21 03:17:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-21 03:17:13 +0000
commit4da6c416ff6122d03e5f3ce6808e15e761e91564 (patch)
tree2f57e0d1e9bdcfefc647b6d8422dfed3156d7f0a /package/Makefile
parent5ba3b2085b8346ff0a9b73e836af3646c51e42e4 (diff)
downloadupstream-4da6c416ff6122d03e5f3ce6808e15e761e91564.tar.gz
upstream-4da6c416ff6122d03e5f3ce6808e15e761e91564.tar.bz2
upstream-4da6c416ff6122d03e5f3ce6808e15e761e91564.zip
fix and enable the sdk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4037 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile
index 2b7f0db764..e947bcfaea 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -27,9 +27,12 @@ $(STAMP_DIR) $(TARGET_DIR):
%-clean: $(STAMP_DIR) $(TARGET_DIR)
$(MAKE) -C $(patsubst %-clean,%,$@) clean MAKEFLAGS="$(BUILD_MAKEFLAGS)"
+ifeq ($(SDK),1)
+GENDEP_OPTS := -s
+endif
$(TOPDIR)/.pkgdeps: $(TOPDIR)/.pkginfo
- @$(TOPDIR)/scripts/gen_deps.pl < $< > $@ || rm -f $@
+ @$(TOPDIR)/scripts/gen_deps.pl $(GENDEP_OPTS) < $< > $@ || rm -f $@
all: compile
clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))