use the cross-compiler to build additional packages
authorNicolas Thill <nico@openwrt.org>
Wed, 2 Nov 2005 02:42:06 +0000 (02:42 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 2 Nov 2005 02:42:06 +0000 (02:42 +0000)
SVN-Revision: 2312

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 f616fa077f8b515bde3c9131f0a112312ad2cfb8..6ac3156e47289e1bf09a3509fb43f558e62cab4c 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 39f5f38bc5258f7c150df236921c96ef536f1e54..26e8b69cf7baf2bf10aaa1e16a573779f8ee6b53 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 06c063a5eac653a82b4eaebe21a002622b1dee55..d28550975b49f900ededfc5d5c9435e5a397d003 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 089e68e948fdbacec97c7457992308c80a4f7f8a..6a13a181c5e8784abd65b196f330c23e1cbe534a 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 4ea3be8380eb20ebff5ab890e8c36231de97c721..033cd7279e4a507b51d4bf8f9b9b68fa4837d03f 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 3ea5cf7c4f76c88c87282398e1640720433b0c8c..fbfd7c968ef084f479f094d98079f6c34eb6af33 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 ecb123872db947519dec8069de633384a6b2916c..0120d702cd3908a19ef9bd20b602b638ce1f31b5 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)" \