X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fx86%2Fboot%2FMakefile;h=12ea8f8384f4b256d51d9f1a7542ca27e6197081;hb=f716a85cd6045c994011268223706642cff7e485;hp=be8e688fa0d48b1fe4aa5180c6afa2c2fb4e84f1;hpb=3ceeda1cbee9f93bb5537c9b840d1f7e767d7c01;p=cascardo%2Flinux.git diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile index be8e688fa0d4..12ea8f8384f4 100644 --- a/arch/x86/boot/Makefile +++ b/arch/x86/boot/Makefile @@ -96,7 +96,7 @@ $(obj)/zoffset.h: $(obj)/compressed/vmlinux FORCE $(call if_changed,zoffset) -AFLAGS_header.o += -I$(obj) +AFLAGS_header.o += -I$(objtree)/$(obj) $(obj)/header.o: $(obj)/zoffset.h LDFLAGS_setup.elf := -T