* [PATCH] kbuild: Fix out-of-tree build for 'make deb-pkg'
@ 2012-02-16 18:56 ` Joerg Roedel
0 siblings, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2012-02-16 18:56 UTC (permalink / raw)
To: linux-kernel
Cc: Joerg Roedel, Michal Marek, maximilian attems, Ben Hutchings,
debian-kernel, linux-kbuild
The out-of-tree build is broken in 'make deb-pkg'. The
header checks and the header install works on the source and
not on the object tree.
While fixing this also replace the direct 'make' invocations
with the $MAKE variable to be consistent within the script.
Cc: Michal Marek <mmarek@suse.cz>
Cc: maximilian attems <max@stro.at>
Cc: Ben Hutchings <ben@decadent.org.uk>
Cc: debian-kernel@lists.debian.org
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
scripts/package/builddeb | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 0db889f..eee5f8e 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -121,7 +121,7 @@ else
fi
if grep -q '^CONFIG_MODULES=y' .config ; then
- INSTALL_MOD_PATH="$tmpdir" make KBUILD_SRC= modules_install
+ INSTALL_MOD_PATH="$tmpdir" $MAKE KBUILD_SRC= modules_install
rm -f "$tmpdir/lib/modules/$version/build"
rm -f "$tmpdir/lib/modules/$version/source"
if [ "$ARCH" = "um" ] ; then
@@ -131,8 +131,8 @@ if grep -q '^CONFIG_MODULES=y' .config ; then
fi
if [ "$ARCH" != "um" ]; then
- make headers_check
- make headers_install INSTALL_HDR_PATH="$libc_headers_dir/usr"
+ $MAKE headers_check KBUILD_SRC=
+ $MAKE headers_install KBUILD_SRC= INSTALL_HDR_PATH="$libc_headers_dir/usr"
fi
# Install the maintainer scripts
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] kbuild: Fix out-of-tree build for 'make deb-pkg'
@ 2012-02-16 18:56 ` Joerg Roedel
0 siblings, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2012-02-16 18:56 UTC (permalink / raw)
To: linux-kernel
Cc: Joerg Roedel, Michal Marek, maximilian attems, Ben Hutchings,
debian-kernel, linux-kbuild
The out-of-tree build is broken in 'make deb-pkg'. The
header checks and the header install works on the source and
not on the object tree.
While fixing this also replace the direct 'make' invocations
with the $MAKE variable to be consistent within the script.
Cc: Michal Marek <mmarek@suse.cz>
Cc: maximilian attems <max@stro.at>
Cc: Ben Hutchings <ben@decadent.org.uk>
Cc: debian-kernel@lists.debian.org
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
scripts/package/builddeb | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 0db889f..eee5f8e 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -121,7 +121,7 @@ else
fi
if grep -q '^CONFIG_MODULES=y' .config ; then
- INSTALL_MOD_PATH="$tmpdir" make KBUILD_SRC= modules_install
+ INSTALL_MOD_PATH="$tmpdir" $MAKE KBUILD_SRC= modules_install
rm -f "$tmpdir/lib/modules/$version/build"
rm -f "$tmpdir/lib/modules/$version/source"
if [ "$ARCH" = "um" ] ; then
@@ -131,8 +131,8 @@ if grep -q '^CONFIG_MODULES=y' .config ; then
fi
if [ "$ARCH" != "um" ]; then
- make headers_check
- make headers_install INSTALL_HDR_PATH="$libc_headers_dir/usr"
+ $MAKE headers_check KBUILD_SRC=
+ $MAKE headers_install KBUILD_SRC= INSTALL_HDR_PATH="$libc_headers_dir/usr"
fi
# Install the maintainer scripts
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] kbuild: Fix out-of-tree build for 'make deb-pkg'
2012-02-16 18:56 ` Joerg Roedel
(?)
@ 2012-02-24 23:02 ` Michal Marek
-1 siblings, 0 replies; 3+ messages in thread
From: Michal Marek @ 2012-02-24 23:02 UTC (permalink / raw)
To: Joerg Roedel
Cc: linux-kernel, maximilian attems, Ben Hutchings, debian-kernel,
linux-kbuild
On Thu, Feb 16, 2012 at 07:56:37PM +0100, Joerg Roedel wrote:
> The out-of-tree build is broken in 'make deb-pkg'. The
> header checks and the header install works on the source and
> not on the object tree.
> While fixing this also replace the direct 'make' invocations
> with the $MAKE variable to be consistent within the script.
>
> Cc: Michal Marek <mmarek@suse.cz>
> Cc: maximilian attems <max@stro.at>
> Cc: Ben Hutchings <ben@decadent.org.uk>
> Cc: debian-kernel@lists.debian.org
> Cc: linux-kbuild@vger.kernel.org
> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
> ---
> scripts/package/builddeb | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
Applied to kbuild.git#misc, thanks.
Michal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-24 23:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-16 18:56 [PATCH] kbuild: Fix out-of-tree build for 'make deb-pkg' Joerg Roedel
2012-02-16 18:56 ` Joerg Roedel
2012-02-24 23:02 ` Michal Marek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.