madwifi: the openwrt build system usually has a better idea of what the target arch...
[openwrt/svn-archive/archive.git] / package / madwifi / Makefile
index 8db820e5aa5f9a086fd62357182ab34062795e60..3fecfd6f682eb7785b4d62806c9a49e80e1d1286 100644 (file)
@@ -189,6 +189,7 @@ MADWIFI_INC = \
 MAKE_ARGS:= \
        PATH="$(TARGET_PATH)" \
        ARCH="$(LINUX_KARCH)" \
 MAKE_ARGS:= \
        PATH="$(TARGET_PATH)" \
        ARCH="$(LINUX_KARCH)" \
+       ARCH-y="$(LINUX_KARCH)" \
        CROSS_COMPILE="$(TARGET_CROSS)" \
        TARGET="$(HAL_TARGET)" \
        TOOLPREFIX="$(KERNEL_CROSS)" \
        CROSS_COMPILE="$(TARGET_CROSS)" \
        TARGET="$(HAL_TARGET)" \
        TOOLPREFIX="$(KERNEL_CROSS)" \