X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=arch%2Fx86%2Fboot%2FMakefile;h=3e02148bb7744181d7ad8c27a23c0870c81ef9ff;hb=d40f833630a1299fd377408dc8d8fac370d621b0;hp=95365a82b6a05b06051217e821ad79118998e2ca;hpb=12871c568305a0b20f116315479a18cd46882e9b;p=~andy%2Flinux diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile index 95365a82b6a..3e02148bb77 100644 --- a/arch/x86/boot/Makefile +++ b/arch/x86/boot/Makefile @@ -37,8 +37,9 @@ setup-y += video-bios.o targets += $(setup-y) hostprogs-y := mkcpustr tools/build -HOST_EXTRACFLAGS += $(LINUXINCLUDE) - +HOSTCFLAGS_mkcpustr.o := -I$(srctree)/arch/$(SRCARCH)/include +HOST_EXTRACFLAGS += -I$(objtree)/include -I$(srctree)/tools/include \ + -include $(srctree)/include/linux/kconfig.h $(obj)/cpu.o: $(obj)/cpustr.h quiet_cmd_cpustr = CPUSTR $@