From mboxrd@z Thu Jan 1 00:00:00 1970 From: jason@lakedaemon.net (Jason Cooper) Date: Thu, 30 Aug 2012 12:52:24 -0400 Subject: [PATCH v2] ARM: Build dtb files in all target In-Reply-To: <1346303687-7795-1-git-send-email-andrew@lunn.ch> References: <1346303687-7795-1-git-send-email-andrew@lunn.ch> Message-ID: <20120830165224.GR19437@titan.lakedaemon.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Aug 30, 2012 at 07:14:47AM +0200, Andrew Lunn wrote: > Tools like kisskb are good at finding build regressions in the kernel > sources. However, regressions in the DT desscriptions are not found, > because generally these build systems don't build the DT binary blobs. > > Extend the ARM all target to build all enabled DTB files. > > Signed-off-by: Andrew Lunn Acked-by: Jason Cooper I've CC'd stable to see if they want to pick this up. It does depend on having dtc built. A patch already exists to build dtc on demand, but I'm not sure if it has made it into mainline yet. It may be in Russell's queue. thx, Jason. > --- > v2: * in the help test > Only invoke dtbs if CONFIGUSE_OF=y > > arch/arm/Makefile | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/Makefile b/arch/arm/Makefile > index 30eae87..0457ef4 100644 > --- a/arch/arm/Makefile > +++ b/arch/arm/Makefile > @@ -268,7 +268,12 @@ else > KBUILD_IMAGE := zImage > endif > > -all: $(KBUILD_IMAGE) > +# Build the DT binary blobs if we have OF configured > +ifeq ($(CONFIG_USE_OF),y) > +KBUILD_DTBS := dtbs > +endif > + > +all: $(KBUILD_IMAGE) $(KBUILD_DTBS) > > boot := arch/arm/boot > > @@ -306,7 +311,7 @@ define archhelp > echo ' uImage - U-Boot wrapped zImage' > echo ' bootpImage - Combined zImage and initial RAM disk' > echo ' (supply initrd image via make variable INITRD=)' > - echo ' dtbs - Build device tree blobs for enabled boards' > + echo '* dtbs - Build device tree blobs for enabled boards' > echo ' install - Install uncompressed kernel' > echo ' zinstall - Install compressed kernel' > echo ' uinstall - Install U-Boot wrapped compressed kernel' > -- > 1.7.10.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel