public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Arun Sharma <asharma@fb.com>
To: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Cc: linux-kbuild@vger.kernel.org, Arun Sharma <asharma@fb.com>
Subject: Re: [PATCH] Make it possible to override INSTALL_HDR_PATH
Date: Tue, 3 May 2011 15:34:35 -0700	[thread overview]
Message-ID: <20110503223435.GA14389@dev1756.snc6.facebook.com> (raw)
In-Reply-To: <201105040000.29351.yann.morin.1998@anciens.enib.fr>

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

      reply	other threads:[~2011-05-03 22:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03 21:46 [PATCH] Make it possible to override INSTALL_HDR_PATH Arun Sharma
2011-05-03 22:00 ` Yann E. MORIN
2011-05-03 22:34   ` Arun Sharma [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110503223435.GA14389@dev1756.snc6.facebook.com \
    --to=asharma@fb.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=yann.morin.1998@anciens.enib.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox