fix iptables extension issue with mac os x builds
[openwrt.git] / package / Makefile
index bf7090d..06e9104 100644 (file)
@@ -25,14 +25,23 @@ $(STAMP_DIR) $(TARGET_DIR):
 %-prereq: $(STAMP_DIR) $(TARGET_DIR)
        $(MAKE) -C $(patsubst %-prereq,%,$@) prereq
 
-$(eval $(call default_subtargets,$(TARGET_DIR)))
+%-download: FORCE
+       $(MAKE) -C $(patsubst %-download,%,$@) download
 
-ifeq ($(SDK),1)
-GENDEP_OPTS := -s
-endif
+%-prepare: $(TARGET_DIR) FORCE
+       $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
+
+%-compile: %-prepare
+       $(MAKE) -C $(patsubst %-compile,%,$@) compile
+
+%-install:
+       $(MAKE) -C $(patsubst %-install,%,$@) install
+
+%-clean: FORCE
+       $(MAKE) -C $(patsubst %-clean,%,$@) clean
 
 $(TMP_DIR)/.pkgdeps: $(TMP_DIR)/.pkginfo
-       @$(TOPDIR)/scripts/metadata.pl package_mk $(GENDEP_OPTS) < $< > $@ || rm -f $@
+       @$(TOPDIR)/scripts/metadata.pl package_mk < $< > $@ || rm -f $@
 
 preconfig:
 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
This page took 0.02059 seconds and 4 git commands to generate.