summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/rt2570/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/rt2570/Makefile b/package/rt2570/Makefile
index 11ccfc9ae..57b3cec2f 100644
--- a/package/rt2570/Makefile
+++ b/package/rt2570/Makefile
@@ -38,6 +38,7 @@ endef
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)" \