diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-11-08 14:28:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-11-08 14:28:49 +0000 |
commit | cf7473557959e8a8105f6810acf00b16896fbbde (patch) | |
tree | 8b5f98bd1f3847bd4a6c540d26757beb916d33a7 /target | |
parent | e0d91f8546c419beaf4be630c51ccedd7fc3ae4d (diff) | |
download | upstream-cf7473557959e8a8105f6810acf00b16896fbbde.tar.gz upstream-cf7473557959e8a8105f6810acf00b16896fbbde.tar.bz2 upstream-cf7473557959e8a8105f6810acf00b16896fbbde.zip |
use target nm instead of host nm for ar7 images (#936)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5473 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/image/ar7/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/image/ar7/Makefile b/target/image/ar7/Makefile index d2af2d9a81..bcdef970cf 100644 --- a/target/image/ar7/Makefile +++ b/target/image/ar7/Makefile @@ -57,7 +57,7 @@ endef define Image/Prepare cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma $(TARGET_CROSS)ld -T $(PKG_BUILD_DIR)/zimage.script -r -b binary $(KDIR)/vmlinux.lzma -o $(KDIR)/zimage.o - $(TARGET_CROSS)ld -static -G 0 --defsym kernel_entry=0x$${shell nm $(KDIR)/linux-*/vmlinux | grep kernel_entry | cut -d' ' -f1} -T $(PKG_BUILD_DIR)/ld.script \ + $(TARGET_CROSS)ld -static -G 0 --defsym kernel_entry=0x$${shell $(TARGET_CROSS)nm $(KDIR)/linux-*/vmlinux | grep kernel_entry | cut -d' ' -f1} -T $(PKG_BUILD_DIR)/ld.script \ $(PKG_BUILD_DIR)/loader.o \ $(PKG_BUILD_DIR)/LzmaDecode.o \ $(KDIR)/zimage.o \ |