From: Ben Hutchings <ben@decadent.org.uk>
To: Arnaud Patard <arnaud.patard@rtp-net.org>
Cc: linux-kbuild@vger.kernel.org, maximilian attems <max@stro.at>,
Michal Marek <mmarek@suse.cz>
Subject: Re: [PATCHv3 1/1] deb-pkg: Add device tree blobs to the package
Date: Wed, 28 Jan 2015 00:22:09 +0000 [thread overview]
Message-ID: <1422404529.2709.5.camel@decadent.org.uk> (raw)
In-Reply-To: <20150126194149.088416391@rtp-net.org>
[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]
On Mon, 2015-01-26 at 20:40 +0100, Arnaud Patard wrote:
> When building a package with make deb-pkg (say, for arm), the dtb files are
> not added to the package. Given that things are still evolving on arm, it
> make sense to have them along with the kernel and modules.
>
> v3: handle with OF but without dtbs_install.
> Use $MAKE ... as done everywhere else in the script
> v2: make use of dtbs_install
>
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
> ---
>
> Index: linux-next/scripts/package/builddeb
> ===================================================================
> --- linux-next.orig/scripts/package/builddeb 2015-01-14 13:04:45.845922441 +0100
> +++ linux-next/scripts/package/builddeb 2015-01-24 21:39:40.047431257 +0100
> @@ -143,6 +143,13 @@ else
> cp arch/$ARCH/boot/$KBUILD_IMAGE "$tmpdir/$installed_image_path"
> fi
>
> +if grep -q "^CONFIG_OF=y" .config ; then
Use $KCONFIG_CONFIG not .config.
Ben.
> + # Only some architectures with OF support have this target
> + if grep -q dtbs_install "${srctree}/arch/$SRCARCH/Makefile"; then
> + $MAKE KBUILD_SRC= INSTALL_DTBS_PATH="$tmpdir/usr/lib/$packagename" dtbs_install
> + fi
> +fi
> +
> if grep -q '^CONFIG_MODULES=y' $KCONFIG_CONFIG ; then
> INSTALL_MOD_PATH="$tmpdir" $MAKE KBUILD_SRC= modules_install
> rm -f "$tmpdir/lib/modules/$version/build"
>
--
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
prev parent reply other threads:[~2015-01-28 0:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150126194058.881319393@rtp-net.org>
2015-01-26 19:40 ` [PATCHv3 1/1] deb-pkg: Add device tree blobs to the package Arnaud Patard
2015-01-28 0:22 ` Ben Hutchings [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=1422404529.2709.5.camel@decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=arnaud.patard@rtp-net.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=max@stro.at \
--cc=mmarek@suse.cz \
/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