aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/image/ar7/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-08-17 19:47:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-08-17 19:47:34 +0000
commit0fde5757a83ebd4f4bf437103f90637756303d9c (patch)
tree1baaf2dce13f09b65d97cd05c7c4b6fbd5faee3b /target/linux/image/ar7/Makefile
parente40361736ba0a3262df4714c0a454b484cff91c2 (diff)
downloadupstream-0fde5757a83ebd4f4bf437103f90637756303d9c.tar.gz
upstream-0fde5757a83ebd4f4bf437103f90637756303d9c.tar.bz2
upstream-0fde5757a83ebd4f4bf437103f90637756303d9c.zip
fix ar7 compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1691 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/image/ar7/Makefile')
-rw-r--r--target/linux/image/ar7/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/image/ar7/Makefile b/target/linux/image/ar7/Makefile
index 8a369edb62..c6a9045b48 100644
--- a/target/linux/image/ar7/Makefile
+++ b/target/linux/image/ar7/Makefile
@@ -38,7 +38,7 @@ $(KDIR)/vmlinux.lzma: $(KDIR)/vmlinux
cat $^ | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $@ || (rm -f $@ && false)
ifeq ($(IB),)
-$(KDIR)/vmlinux.bin: $(KDIR)/vmlinux.lzma
+$(KDIR)/vmlinux.bin: $(KDIR)/vmlinux.lzma compile
$(TARGET_CROSS)ld -T $(PKG_BUILD_DIR)/zimage.script -r -b binary $< -o $(KDIR)/zimage.o
$(TARGET_CROSS)ld -static -G 0 --defsym kernel_entry=$(KERNEL_ENTRY) -T $(PKG_BUILD_DIR)/ld.script \
$(PKG_BUILD_DIR)/loader.o \
@@ -48,7 +48,7 @@ $(KDIR)/vmlinux.bin: $(KDIR)/vmlinux.lzma
$(TARGET_CROSS)objcopy -O srec $(KDIR)/loader $(KDIR)/ram_zimage.sre
$(STAGING_DIR)/bin/srec2bin $(KDIR)/ram_zimage.sre $@
-$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-kernel.bin: $(KDIR)/vmlinux.bin
+$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-kernel.bin: $(KDIR)/vmlinux.bin
endif
$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-kernel.bin: