From 3111b8c2fc81d860f938e61f23fb9c8f2f4fb475 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 26 Aug 2007 12:42:48 +0000 Subject: [PATCH] move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's defined only once SVN-Revision: 8491 --- include/package-ipkg.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index c67ee4b8ae..cc9a780147 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -71,11 +71,6 @@ ifeq ($(DUMP),) $$(INFO_$(1)): $$(IPKG_$(1)) $(IPKG) install $$(IPKG_$(1)) - $(STAGING_DIR)/etc/ipkg.conf: - mkdir -p $(STAGING_DIR)/etc - echo "dest root /" > $(STAGING_DIR)/etc/ipkg.conf - echo "option offline_root $(TARGET_DIR)" >> $(STAGING_DIR)/etc/ipkg.conf - $(1)-clean: rm -f $(PACKAGE_DIR)/$(1)_* @@ -88,4 +83,10 @@ ifeq ($(DUMP),) $$(eval $$(call Build/DefaultTargets,$(1))) endef + + $(STAGING_DIR)/etc/ipkg.conf: + mkdir -p $(STAGING_DIR)/etc + echo "dest root /" > $(STAGING_DIR)/etc/ipkg.conf + echo "option offline_root $(TARGET_DIR)" >> $(STAGING_DIR)/etc/ipkg.conf + endif -- 2.30.2