diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-04-20 21:28:11 +0200 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-04-21 20:44:04 +0200 |
commit | 9045eb5a3a9bc3ead655ad8012cef370920bbe80 (patch) | |
tree | a95c9aed6ce05fd2b7ad643bdfb8da6f324bc9db | |
parent | f71640943da5b7b532d976be9aa11d264afecfe7 (diff) | |
download | imx6-linaro_android_4.0.4.tar.gz |
imx6: Set DEVICE_TREES only if the kernel supports itlinaro_android_4.0.4
The Freescale kernel doesn't support DeviceTree. Don't set
DEVICE_TREES if it isn't supported.
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | BoardConfig.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index f32c560..1f1e845 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -7,7 +7,10 @@ TARGET_BOARD_PLATFORM := imx6 TARGET_NO_BOOTLOADER := true # Uses u-boot instead TARGET_NO_KERNEL := false KERNEL_CONFIG := imx6_android_defconfig +DT_SUPPORT := $(shell if test -e ../../../kernel/arch/arm/boot/dts/imx6q-sabrelite.dts; then echo -n yes; else echo -n no; fi ) +ifneq ($(DT_SUPPORT),no) DEVICE_TREES := imx6q-sabrelite:board.dtb +endif TARGET_USE_UBOOT := true UBOOT_CONFIG := mx6qsabrelite_config TARGET_USE_XLOADER := false |