mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-05 04:49:44 +02:00
move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's defined only once
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8491 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cbfea251dd
commit
3a3a2c6d81
@ -71,11 +71,6 @@ ifeq ($(DUMP),)
|
|||||||
$$(INFO_$(1)): $$(IPKG_$(1))
|
$$(INFO_$(1)): $$(IPKG_$(1))
|
||||||
$(IPKG) install $$(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:
|
$(1)-clean:
|
||||||
rm -f $(PACKAGE_DIR)/$(1)_*
|
rm -f $(PACKAGE_DIR)/$(1)_*
|
||||||
|
|
||||||
@ -88,4 +83,10 @@ ifeq ($(DUMP),)
|
|||||||
$$(eval $$(call Build/DefaultTargets,$(1)))
|
$$(eval $$(call Build/DefaultTargets,$(1)))
|
||||||
|
|
||||||
endef
|
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
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user