use the cross-compiler to build additional packages
[openwrt/svn-archive/archive.git] / openwrt / target / linux / package / hostap / Makefile
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 $@