mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-04 05:57:28 +03:00
use the cross-compiler to build additional packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2312 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0a6dc7ccb6
commit
ce69351348
@ -44,7 +44,9 @@ $(PKG_BUILD_DIR)/.configured:
|
|||||||
$(PKG_BUILD_DIR)/.built:
|
$(PKG_BUILD_DIR)/.built:
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
c_opts="$(KERNEL_C_OPTS)"
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
|
c_opts="$(KERNEL_C_OPTS)" \
|
||||||
|
all
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(IPKG_KMOD_ALSA):
|
$(IPKG_KMOD_ALSA):
|
||||||
|
@ -69,6 +69,7 @@ $(PKG_BUILD_DIR)/.built:
|
|||||||
mkdir -p $(PKG_INSTALL_DIR)
|
mkdir -p $(PKG_INSTALL_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
PATH="$(TARGET_PATH)" \
|
PATH="$(TARGET_PATH)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
SUBDIRS="kernel" \
|
SUBDIRS="kernel" \
|
||||||
|
@ -31,6 +31,7 @@ $(PKG_BUILD_DIR)/.configured:
|
|||||||
$(PKG_BUILD_DIR)/.built:
|
$(PKG_BUILD_DIR)/.built:
|
||||||
$(MAKE) -C $(KERNEL_DIR)/ \
|
$(MAKE) -C $(KERNEL_DIR)/ \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
SUBDIRS="$(PKG_BUILD_DIR)/driver/modules" \
|
SUBDIRS="$(PKG_BUILD_DIR)/driver/modules" \
|
||||||
modules
|
modules
|
||||||
touch $@
|
touch $@
|
||||||
|
@ -39,9 +39,11 @@ $(PKG_BUILD_DIR)/.built:
|
|||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
PATH="$(TARGET_PATH)" \
|
PATH="$(TARGET_PATH)" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
TARGET="$(HAL_TARGET)" \
|
TARGET="$(HAL_TARGET)" \
|
||||||
TOOLPREFIX="$(KERNEL_CROSS)" \
|
TOOLPREFIX="$(KERNEL_CROSS)" \
|
||||||
KERNELPATH="$(KERNEL_DIR)"
|
KERNELPATH="$(KERNEL_DIR)" \
|
||||||
|
all
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(IPKG_KMOD_MADWIFI):
|
$(IPKG_KMOD_MADWIFI):
|
||||||
|
@ -31,6 +31,7 @@ $(PKG_BUILD_DIR)/.built:
|
|||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
PATH="$(TARGET_PATH)" \
|
PATH="$(TARGET_PATH)" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
KERNELVERSION="$(KERNEL_VERSION)" \
|
KERNELVERSION="$(KERNEL_VERSION)" \
|
||||||
KERNEL_SRC="$(KERNEL_DIR)" \
|
KERNEL_SRC="$(KERNEL_DIR)" \
|
||||||
all
|
all
|
||||||
|
@ -28,6 +28,7 @@ $(PKG_BUILD_DIR)/.built:
|
|||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
KERNELSRC="$(KERNEL_DIR)" \
|
KERNELSRC="$(KERNEL_DIR)" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
USERCOMPILE="$(FLAGS)" \
|
USERCOMPILE="$(FLAGS)" \
|
||||||
module
|
module
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ $(PKG_BUILD_DIR)/.built:
|
|||||||
mkdir -p $(PKG_INSTALL_DIR)
|
mkdir -p $(PKG_INSTALL_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
PATH="$(TARGET_PATH)" \
|
PATH="$(TARGET_PATH)" \
|
||||||
OFLAGS="$(TARGET_CFLAGS)" \
|
OFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user