mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
fix .built target
SVN-Revision: 3776
This commit is contained in:
parent
12ec1ba1fb
commit
11817c5453
@ -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