aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-05-14 10:24:06 +0000
committerMike Baker <mbm@openwrt.org>2006-05-14 10:24:06 +0000
commit5655a20ab8738da564ceadeb73e3d0b05f844a00 (patch)
tree9bb691763b005d16649babd902e6fc90ea373e1a /package
parent6f127d293e65db3c450dbf38f0c0b31c2becf409 (diff)
downloadupstream-5655a20ab8738da564ceadeb73e3d0b05f844a00.tar.gz
upstream-5655a20ab8738da564ceadeb73e3d0b05f844a00.tar.bz2
upstream-5655a20ab8738da564ceadeb73e3d0b05f844a00.zip
fix .built target
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3776 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/rules.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/package/rules.mk b/package/rules.mk
index d25b487a76..2d379006c3 100644
--- a/package/rules.mk
+++ b/package/rules.mk
@@ -5,12 +5,11 @@ else
endif
define Build/DefaultTargets
-
ifeq ($(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) .),.)
$(PKG_BUILD_DIR)/.prepared: package-clean
endif
- ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1)))
+ ifneq ($(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1)))
$(PKG_BUILD_DIR)/.built: package-rebuild
endif
@@ -145,9 +144,7 @@ define BuildPackage
clean: $(1)-clean
- ifneq ($(__DEFAULT_TARGETS),1)
- $(eval $(call Build/DefaultTargets,$(1)))
- endif
+ $$(eval $$(call Build/DefaultTargets,$(1)))
endef