[Buildroot] [PATCHv3] linux: Support multiple device tree build
Arnout Vandecappelle
arnout at mind.be
Fri Dec 21 12:21:21 UTC 2012
On 20/12/12 15:24, Peter Korsgaard wrote:
>>>>>> "Maxime" == Maxime Ripard<maxime.ripard at free-electrons.com> writes:
>
> Maxime> Signed-off-by: Maxime Ripard<maxime.ripard at free-electrons.com>
>
> Committed, thanks.
>
> Maxime> define LINUX_INSTALL_DTB
> Maxime> - cp $(KERNEL_ARCH_PATH)/boot/$(KERNEL_DTS_NAME).dtb $(BINARIES_DIR)/
> Maxime> + cp $(addprefix $(KERNEL_ARCH_PATH)/boot/, \
> Maxime> + $(addsuffix .dtb, $(call qstrip, $(KERNEL_DTS_NAME)))) \
> Maxime> + $(BINARIES_DIR)/
>
> Not directly related to your patch, but this is broken by the recent
> (post-3.7) change to put .dtb files in arch/arm/boot/dts. I wonder how
> the best way of handling this is?
How about adding this to LINUX_POST_PATCH_HOOKS
if [ ! -e $(KERNEL_ARCH_PATH)/boot/dts ]; then \
ln -s . $(KERNEL_ARCH_PATH)/boot/dts; \
fi
and adding dts to the path everywhere we use it?
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
More information about the buildroot
mailing list