mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 07:00: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
|
endif
|
||||||
|
|
||||||
define Build/DefaultTargets
|
define Build/DefaultTargets
|
||||||
|
|
||||||
ifeq ($(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) .),.)
|
ifeq ($(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) .),.)
|
||||||
$(PKG_BUILD_DIR)/.prepared: package-clean
|
$(PKG_BUILD_DIR)/.prepared: package-clean
|
||||||
endif
|
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
|
$(PKG_BUILD_DIR)/.built: package-rebuild
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -145,9 +144,7 @@ define BuildPackage
|
|||||||
|
|
||||||
clean: $(1)-clean
|
clean: $(1)-clean
|
||||||
|
|
||||||
ifneq ($(__DEFAULT_TARGETS),1)
|
$$(eval $$(call Build/DefaultTargets,$(1)))
|
||||||
$(eval $(call Build/DefaultTargets,$(1)))
|
|
||||||
endif
|
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user