Skip to contentSkip to conversation

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

DISCUSSION Gene Heskett 2 participants 3 messages Apr 6, 2011 – Apr 7, 2011

lore
Share & tools
lore
#0 lore raw

This is, in line 25 is $(INSTALL_HDR_PATH)

What do I export as that $VAR that will satisfy this?

Signature · 7 lines
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>
I feel better about world problems now!
#1 lore raw
Quoted 3 lines · Gene Heskett

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

#2 lore raw
Quoted 5 lines · Michal Marek
Quoted 3 lines · Gene Heskett

This is, in line 25 is $(INSTALL_HDR_PATH)

What do I export as that $VAR that will satisfy this?

Quoted 8 lines

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.

Signature · 8 lines
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.