Re: Set INSTALL_HDR_PATH on command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 22, 2010 at 09:23:28AM +0200, Jonas Bonn wrote:
> In the toplevel Linux Makefile, INSTALL_HDR_PATH is hardcoded as
> follows:
> 
> # Kernel headers
> 
> #Default location for installed headers
> export INSTALL_HDR_PATH = $(objtree)/usr
> 
> Should this not be done with ?= so that the install path can be
> overridden on the command line?
> 
> export INSTALL_HDR_PATH ?= $(objtree)/usr

What you can do today is:

    make INSTALL_HDR_PATH=/my/dir


Difference between "=" and "?=" is that the latter
only assign a new value if the variables was not defined.

	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

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux