> > @@ -349,7 +349,8 @@ CFLAGS_GCOV = -fprofile-arcs -ftest-coverage > > > > # Use LINUXINCLUDE when you must reference the include/ directory. > > # Needed to be compatible with the O= option > > -LINUXINCLUDE := -I$(srctree)/arch/$(hdr-arch)/include -Iinclude \ > > +LINUXINCLUDE := -I$(srctree)/arch/$(hdr-arch)/include \ > > + -Iarch/$(hdr-arch)/include/generated -Iinclude \ > I think $(srctree) is necessary before new include-dir. > The generated files are located in objtree - because they are generated. So $(srctree) would be wrong here. > > +PHONY += asm-generic > > +asm-generic: > > + $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic obj=arch/$(SRCARCH)/include/generated/asm > Too long fixed > > _dst := $(if $(destination-y),$(destination-y),$(_dst)) > > +_src := $(srctree)/$(obj) > _src is only used one time fixed > > + > Additional empty line fixed > > + done; \ > > touch $@ > > > > + > Additional empty line fixed > > targets += $(install-file) > > -$(install-file): scripts/headers_install.pl $(input-files) FORCE > > +$(install-file): scripts/headers_install.pl \ > > + $(input-files) FORCE > The same content fixed > I have tested on UniCore32, and it works well. I take this as "Acked-by" and "Tested-by". Thanks for feedback - new version to be posted shortly. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html