Fix ixp compilation errors (#1003)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 12 Dec 2006 13:32:47 +0000 (13:32 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 12 Dec 2006 13:32:47 +0000 (13:32 +0000)
SVN-Revision: 5771

package/rt2570/Makefile

index 11ccfc9ae76b9175ba907166159761b5adde16de..57b3cec2fd38b460fd4833691cbad400580c9b6c 100644 (file)
@@ -38,6 +38,7 @@ endef
 define Build/Compile
        $(MAKE) -C "$(PKG_BUILD_DIR)/Module" \
                CC="$(TARGET_CC)" \
 define Build/Compile
        $(MAKE) -C "$(PKG_BUILD_DIR)/Module" \
                CC="$(TARGET_CC)" \
+               LD="$(TARGET_CROSS)ld" \
                ARCH="$(LINUX_KARCH)" \
                PWD="$(PKG_BUILD_DIR)/Module" \
                KERNDIR="$(LINUX_DIR)" \
                ARCH="$(LINUX_KARCH)" \
                PWD="$(PKG_BUILD_DIR)/Module" \
                KERNDIR="$(LINUX_DIR)" \