mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:01:52 +02:00
move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8581 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
44ba00bfa1
commit
39a3cef8d7
@ -5,6 +5,18 @@
|
|||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# where to build (and put) .ipk packages
|
||||||
|
IPKG:= \
|
||||||
|
IPKG_TMP=$(TMP_DIR)/ipkg \
|
||||||
|
IPKG_INSTROOT=$(TARGET_DIR) \
|
||||||
|
IPKG_CONF_DIR=$(STAGING_DIR)/etc \
|
||||||
|
IPKG_OFFLINE_ROOT=$(TARGET_DIR) \
|
||||||
|
$(SCRIPT_DIR)/ipkg -force-defaults -force-depends
|
||||||
|
|
||||||
|
# invoke ipkg-build with some default options
|
||||||
|
IPKG_BUILD:= \
|
||||||
|
ipkg-build -c -o 0 -g 0
|
||||||
|
|
||||||
define BuildIPKGVariable
|
define BuildIPKGVariable
|
||||||
$(call shexport,Package/$(1)/$(2))
|
$(call shexport,Package/$(1)/$(2))
|
||||||
$(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2);
|
$(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2);
|
||||||
|
12
rules.mk
12
rules.mk
@ -107,18 +107,6 @@ RSTRIP:= \
|
|||||||
STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
|
STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
|
||||||
$(SCRIPT_DIR)/rstrip.sh
|
$(SCRIPT_DIR)/rstrip.sh
|
||||||
|
|
||||||
# where to build (and put) .ipk packages
|
|
||||||
IPKG:= \
|
|
||||||
IPKG_TMP=$(TMP_DIR)/ipkg \
|
|
||||||
IPKG_INSTROOT=$(TARGET_DIR) \
|
|
||||||
IPKG_CONF_DIR=$(STAGING_DIR)/etc \
|
|
||||||
IPKG_OFFLINE_ROOT=$(TARGET_DIR) \
|
|
||||||
$(SCRIPT_DIR)/ipkg -force-defaults -force-depends
|
|
||||||
|
|
||||||
# invoke ipkg-build with some default options
|
|
||||||
IPKG_BUILD:= \
|
|
||||||
ipkg-build -c -o 0 -g 0
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_ENABLE_LOCALE),true)
|
ifeq ($(CONFIG_ENABLE_LOCALE),true)
|
||||||
DISABLE_NLS:=
|
DISABLE_NLS:=
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user