Re: [PATCH 2/4] builddeb: install dtbs

2015-04-02 Thread Rtp
riku.voi...@linaro.org writes:

Hi,

 From: Riku Voipio riku.voi...@linaro.org

 When kernel is built with CONFIG_OF, install all built device
 tree files built. The installation location used is same as
 toplevel INSTALL_DTBS_PATH.

Already sent a better patch for that (your patch is not handling
system with CONFIG_OF and without dtbs_install):
http://www.spinics.net/lists/linux-kbuild/msg10794.html
but looks like not yet merged.

Arnaud


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87k2xu3frr@lebrac.rtp-net.org



[PATCH 2/4] builddeb: install dtbs

2015-04-02 Thread riku . voipio
From: Riku Voipio riku.voi...@linaro.org

When kernel is built with CONFIG_OF, install all built device
tree files built. The installation location used is same as
toplevel INSTALL_DTBS_PATH.

Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
 scripts/package/builddeb | 4 
 1 file changed, 4 insertions(+)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 146b74f..147264e 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -174,6 +174,10 @@ if grep -q '^CONFIG_MODULES=y' $KCONFIG_CONFIG ; then
fi
 fi
 
+if grep -q '^CONFIG_OF=y' $KCONFIG_CONFIG ; then
+   $MAKE dtbs_install KBUILD_SRC= 
INSTALL_DTBS_PATH=$tmpdir/boot/dtbs/$version/
+fi
+
 if [ $ARCH != um ]; then
$MAKE headers_check KBUILD_SRC=
$MAKE headers_install KBUILD_SRC= 
INSTALL_HDR_PATH=$libc_headers_dir/usr
-- 
2.1.4


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/f5cc7f6394efe3d5404beb5588b67671dca9fb74.1427968988.git.riku.voi...@linaro.org



Re: [PATCH 2/4] builddeb: install dtbs

2015-04-02 Thread Rtp
Arnaud Patard (Rtp) arnaud.pat...@rtp-net.org writes:

(replying to self)

 riku.voi...@linaro.org writes:

 Hi,

 From: Riku Voipio riku.voi...@linaro.org

 When kernel is built with CONFIG_OF, install all built device
 tree files built. The installation location used is same as
 toplevel INSTALL_DTBS_PATH.

 Already sent a better patch for that (your patch is not handling
 system with CONFIG_OF and without dtbs_install):
 http://www.spinics.net/lists/linux-kbuild/msg10794.html

Oops. Wrong version. The right one is v4:
http://www.spinics.net/lists/linux-kbuild/msg10832.html

Arnaud


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87bnj63es2@lebrac.rtp-net.org



Re: [PATCH 2/4] builddeb: install dtbs

2015-04-02 Thread Riku Voipio
On 2 April 2015 at 15:17, Arnaud Patard arnaud.pat...@rtp-net.org wrote:
 Arnaud Patard (Rtp) arnaud.pat...@rtp-net.org writes:
 Already sent a better patch for that (your patch is not handling
 system with CONFIG_OF and without dtbs_install):
 http://www.spinics.net/lists/linux-kbuild/msg10794.html

 Oops. Wrong version. The right one is v4:
 http://www.spinics.net/lists/linux-kbuild/msg10832.html

Your version looks good. What needs to happen for it to get merged?

Riku


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caaqcghnmxf5iyct3rdl32-a6xnqt5k8awpn6-iuuq0a54jw...@mail.gmail.com



Re: [PATCH 2/4] builddeb: install dtbs

2015-04-02 Thread Rtp
Riku Voipio riku.voi...@linaro.org writes:

 On 2 April 2015 at 15:17, Arnaud Patard arnaud.pat...@rtp-net.org wrote:
 Arnaud Patard (Rtp) arnaud.pat...@rtp-net.org writes:
 Already sent a better patch for that (your patch is not handling
 system with CONFIG_OF and without dtbs_install):
 http://www.spinics.net/lists/linux-kbuild/msg10794.html

 Oops. Wrong version. The right one is v4:
 http://www.spinics.net/lists/linux-kbuild/msg10832.html

 Your version looks good. What needs to happen for it to get merged?

No idea. I was hoping that someone would take it.

Arnaud


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/874moy2zks@lebrac.rtp-net.org