mirror of https://github.com/hak5/openwrt.git
parent
e6ee25ebd0
commit
ba05b57573
|
@ -67,9 +67,9 @@ define Build/DefaultTargets
|
|||
touch $$@
|
||||
|
||||
ifdef Build/InstallDev
|
||||
compile: $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed
|
||||
$(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed: $(STAMP_BUILT)
|
||||
mkdir -p $(STAGING_DIR)/stampfiles
|
||||
compile: $(STAGING_DIR)/stamp/.$(PKG_NAME)-installed
|
||||
$(STAGING_DIR)/stamp/.$(PKG_NAME)-installed: $(STAMP_BUILT)
|
||||
mkdir -p $(STAGING_DIR)/stamp
|
||||
$(Build/InstallDev)
|
||||
touch $$@
|
||||
endif
|
||||
|
@ -128,5 +128,5 @@ install:
|
|||
clean: FORCE
|
||||
$(Build/UninstallDev)
|
||||
$(Build/Clean)
|
||||
@rm -f $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed
|
||||
@rm -f $(STAGING_DIR)/stamp/.$(PKG_NAME)-installed
|
||||
@rm -rf $(PKG_BUILD_DIR)
|
||||
|
|
|
@ -36,7 +36,7 @@ endef
|
|||
|
||||
# Parameters: <subdir> <name> <target>
|
||||
define stampfile
|
||||
$(1)/stamp-$(3):=$(STAGING_DIR)/stampfiles/.$(2)_$(3)
|
||||
$(1)/stamp-$(3):=$(STAGING_DIR)/stamp/.$(2)_$(3)
|
||||
$(if $(__rdep_$(1)),,
|
||||
$(call rdep,$(1),$$($(1)/stamp-$(3)),)
|
||||
__rdep_$(1):=1
|
||||
|
|
Loading…
Reference in New Issue