Arun, All, On Tuesday 03 May 2011 23:46:12 Arun Sharma wrote: > diff --git a/Makefile b/Makefile > index cb715df..ec68886 100644 > --- a/Makefile > +++ b/Makefile > @@ -1009,7 +1009,7 @@ firmware_install: FORCE > # Kernel headers > > #Default location for installed headers > -export INSTALL_HDR_PATH = $(objtree)/usr > +export INSTALL_HDR_PATH ?= $(objtree)/usr > > hdr-inst := -rR -f $(srctree)/scripts/Makefile.headersinst obj > Already works for me here in 2.6.38.5: $ head -n 5 Makefile VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 38 EXTRAVERSION = .5 NAME = Flesh-Eating Bats with Fangs $ rm -rf FOO $ mkdir FOO $ make INSTALL_HDR_PATH=$(pwd)/FOO ARCH=x86 headers_install $ ls -l FOO total 4 drwxr-xr-x 12 ymorin users 4096 2011-05-03 23:57 include $ cat FOO/include/linux/version.h #define LINUX_VERSION_CODE 132646 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) $ make --version | head -n 1 GNU Make 3.81 Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- 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