use the cross-compiler to build additional packages
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Nov 2005 02:42:06 +0000 (02:42 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Nov 2005 02:42:06 +0000 (02:42 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2312 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/target/linux/package/alsa/Makefile
openwrt/target/linux/package/fuse/Makefile
openwrt/target/linux/package/hostap/Makefile
openwrt/target/linux/package/madwifi/Makefile
openwrt/target/linux/package/mini_fo/Makefile
openwrt/target/linux/package/openswan/Makefile
openwrt/target/linux/package/shfs/Makefile

index f616fa0..6ac3156 100644 (file)
@@ -44,7 +44,9 @@ $(PKG_BUILD_DIR)/.configured:
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                ARCH="$(LINUX_KARCH)" \
-               c_opts="$(KERNEL_C_OPTS)"
+               CROSS_COMPILE="$(TARGET_CROSS)" \
+               c_opts="$(KERNEL_C_OPTS)" \
+               all
        touch $@
 
 $(IPKG_KMOD_ALSA):
index 39f5f38..26e8b69 100644 (file)
@@ -69,6 +69,7 @@ $(PKG_BUILD_DIR)/.built:
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                ARCH="$(LINUX_KARCH)" \
+               CROSS_COMPILE="$(TARGET_CROSS)" \
                PATH="$(TARGET_PATH)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                SUBDIRS="kernel" \
index 06c063a..d285509 100644 (file)
@@ -31,6 +31,7 @@ $(PKG_BUILD_DIR)/.configured:
 $(PKG_BUILD_DIR)/.built: 
        $(MAKE) -C $(KERNEL_DIR)/ \
                ARCH="$(LINUX_KARCH)" \
+               CROSS_COMPILE="$(TARGET_CROSS)" \
                SUBDIRS="$(PKG_BUILD_DIR)/driver/modules" \
                modules
        touch $@
index 089e68e..6a13a18 100644 (file)
@@ -39,9 +39,11 @@ $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                PATH="$(TARGET_PATH)" \
                ARCH="$(LINUX_KARCH)" \
+               CROSS_COMPILE="$(TARGET_CROSS)" \
                TARGET="$(HAL_TARGET)" \
                TOOLPREFIX="$(KERNEL_CROSS)" \
-               KERNELPATH="$(KERNEL_DIR)"
+               KERNELPATH="$(KERNEL_DIR)" \
+               all
        touch $@
 
 $(IPKG_KMOD_MADWIFI):
index 4ea3be8..033cd72 100644 (file)
@@ -31,6 +31,7 @@ $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                PATH="$(TARGET_PATH)" \
                ARCH="$(LINUX_KARCH)" \
+               CROSS_COMPILE="$(TARGET_CROSS)" \
                KERNELVERSION="$(KERNEL_VERSION)" \
                KERNEL_SRC="$(KERNEL_DIR)" \
                all
index 3ea5cf7..fbfd7c9 100644 (file)
@@ -28,6 +28,7 @@ $(PKG_BUILD_DIR)/.built:
                $(TARGET_CONFIGURE_OPTS) \
                KERNELSRC="$(KERNEL_DIR)" \
                ARCH="$(LINUX_KARCH)" \
+               CROSS_COMPILE="$(TARGET_CROSS)" \
                USERCOMPILE="$(FLAGS)" \
                module
 
index ecb1238..0120d70 100644 (file)
@@ -31,6 +31,7 @@ $(PKG_BUILD_DIR)/.built:
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                ARCH="$(LINUX_KARCH)" \
+               CROSS_COMPILE="$(TARGET_CROSS)" \
                PATH="$(TARGET_PATH)" \
                OFLAGS="$(TARGET_CFLAGS)" \
                CC="$(TARGET_CC)" \
This page took 0.039753 seconds and 4 git commands to generate.