Re: 2.6.38.2-New, apparently undfined var in include/linux/Kbuild breaks make headers_install

From: Gene Heskett
Date: Wed Apr 06 2011 - 20:48:34 EST


On Wednesday, April 06, 2011, Michal Marek wrote:
>On 6.4.2011 21:43, Gene Heskett wrote:
>> This is, in line 25 is $(INSTALL_HDR_PATH)
>>
>> What do I export as that $VAR that will satisfy this?
>
>It is set by the toplevel Makefile:
>
>#Default location for installed headers
>export INSTALL_HDR_PATH = $(objtree)/usr
>
>What exactly are you doing and how does it fail?
>
>Michal
I was attempting to locally build and install the 2.6.28.2 source package
from the pclos repo. My 'makeit' script makes a BzImage then modules. It
is about 4 lines into the make modules when it bailed out if that option
was checked in a make xconfig, and then my makeit script, which was doing
it after the make modules_install, also bailed out with the same message.

Could it be that my doing the build sequencing by script, was somehow
bypassing this export function above?

In which case what pre-function should I issue from my script so this
particular function is not bypassed?

Or might this be considered a Makefile bug?

Its all moot now anyway, I have had synaptic install the ready made pae
version from the pclos repo, and it seems to be working normally for about
the last 45 minutes.

Thank you very much for the informative reply Michal.

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
<http://tinyurl.com/ddg5bz>
<http://www.cantrip.org/gatto.html>
Weiner's Law of Libraries:
There are no answers, only cross references.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/