Re: [PATCH] Make it possible to override INSTALL_HDR_PATH

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

 



On Wed, May 04, 2011 at 12:00:29AM +0200, Yann E. MORIN wrote:
>   $ make INSTALL_HDR_PATH=$(pwd)/FOO ARCH=x86 headers_install
>   $ ls -l FOO

Works for me too :) I was trying:

echo 'INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr make %{?_smp_mflags} headers_install'

along the lines of:

scripts/packaging/mkspec:

echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{?_smp_mflags} KBUILD_SRC=modules_install'

While we're on the topic, could we enhance mkspec to spit out -devel and
-headers rpms too? I can post patches if there is sufficient interest.

It'd be nice to use the same mechanism to define/override:

INSTALL_PATH
INSTALL_MOD_PATH
INSTALL_HDR_PATH

 -Arun
--
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