[PATCH] xtensa: Removed local copy of zlib and fixed O= support
[linux-2.6.git] / arch / xtensa / boot / boot-elf / Makefile
index f6ef6a36966751c58c0c593c517db4578584c099..734db7f76583ad3c24b38699bc39503df166ec8e 100644 (file)
@@ -27,7 +27,7 @@ Image:        vmlinux $(OBJS)
                --set-section-flags image=contents,alloc,load,load,data \
                $(OBJS) $@.tmp
        $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux) \
-               -T arch/$(ARCH)/boot/boot-elf/boot.ld \
+               -T $(srctree)/arch/$(ARCH)/boot/boot-elf/boot.ld \
                -o arch/$(ARCH)/boot/$@.elf $@.tmp
        rm -f $@.tmp vmlinux.tmp
 
@@ -41,7 +41,7 @@ Image.initrd: vmlinux $(OBJS)
                --set-section-flags image=contents,alloc,load,load,data \
                $(OBJS) $@.tmp
        $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux) \
-               -T arch/$(ARCH)/boot/boot-elf/boot.ld \
+               -T $(srctree)/arch/$(ARCH)/boot/boot-elf/boot.ld \
                -o arch/$(ARCH)/boot/$@.elf $@.tmp
        rm -f $@.tmp vmlinux.tmp