remove extra targets

SVN-Revision: 3760
owl
Mike Baker 2006-05-11 16:54:14 +00:00
parent 02be4b6759
commit d5e5f06d86
1 changed files with 8 additions and 19 deletions

View File

@ -17,21 +17,18 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(call Build/Configure) $(call Build/Configure)
touch $$@ touch $$@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built: FORCE $(PKG_BUILD_DIR)/.configured
ifeq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $$(IPKG_$(1)) $(PKG_BUILD_DIR)),$(PKG_BUILD_DIR))
$(call Build/Compile) $(call Build/Compile)
touch $$@ touch $$@
endif
package-clean: package-clean: FORCE
$(call Build/Clean) $(call Build/Clean)
rm -f $(PKG_BUILD_DIR)/.built rm -f $(PKG_BUILD_DIR)/.built
package-recompile: define Build/DefaultTargets
rm -f $(PKG_BUILD_DIR)/.built endef
.PHONY: package-clean package-recompile
# define Build/DefaultTargets
# endef
endef endef
define Package/Default define Package/Default
@ -75,25 +72,17 @@ IPKG_$(1):=$(PACKAGE_DIR)/$(1)_$(VERSION)_$(PKGARCH).ipk
IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(1) IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(1)
INFO_$(1):=$(IPKG_STATE_DIR)/info/$(1).list INFO_$(1):=$(IPKG_STATE_DIR)/info/$(1).list
ifneq ($(CONFIG_PACKAGE_$(1)),) ifneq ($(CONFIG_PACKAGE_$(1))$(DEVELOPER),)
COMPILE_$(1):=1
endif
ifneq ($(DEVELOPER),)
COMPILE_$(1):=1 COMPILE_$(1):=1
endif endif
ifeq ($(CONFIG_PACKAGE_$(1)),y) ifeq ($(CONFIG_PACKAGE_$(1)),y)
install-targets: $$(INFO_$(1)) install-targets: $$(INFO_$(1))
endif endif
ifneq ($$(COMPILE_$(1)),)
ifeq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $$(IPKG_$(1)) $(PKG_BUILD_DIR)),$(PKG_BUILD_DIR))
$(PKG_BUILD_DIR)/.built: package-recompile
endif
compile-targets: $$(IPKG_$(1)) compile-targets: $$(IPKG_$(1))
endif endif
IDEPEND_$(1):=$$(strip $$(DEPENDS)) IDEPEND_$(1):=$$(strip $$(DEPENDS))
DUMPINFO += \ DUMPINFO += \