Re: [PATCHv2 1/1] deb-pkg: Add device tree blobs to the package

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

 



[Please submit patches inline.]

On Wed, 2015-01-14 at 13:32 +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.
> 
> v2: make use of dtbs_install
> 
> Signed-off-by: Arnaud Patard <arnaud.patard@xxxxxxxxxxx>
> ---
> 
> 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-14 13:19:26.121883720 +0100
> @@ -143,6 +143,10 @@ else
>         cp arch/$ARCH/boot/$KBUILD_IMAGE "$tmpdir/$installed_image_path"
>  fi
>  
> +if grep -q "^CONFIG_OF=y" .config ; then
> +       make INSTALL_DTBS_PATH="$tmpdir/usr/lib/$packagename" dtbs_install
> +fi

Only arm and arm64 support that target.  You should maybe run something
like 'make -n dtbs_install >/dev/null 2>&1' first to check that the
target is defined.

Ben.

>  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
The world is coming to an end.	Please log off.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux