mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 02:48:37 +02:00
fix .built target
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3776 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0ee3b9c766
commit
409dbcd075
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user