aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Ryd <patrik.ryd@linaro.org>2012-08-22 16:34:38 +0200
committerPatrik Ryd <patrik.ryd@linaro.org>2012-08-22 16:35:25 +0200
commit8244c1c47a213d909b91b8c464654ed679654cc5 (patch)
tree64ae842af473521588e603de68a6814f2a2f3a39
parent7ba136be548eedfa30293f281289226a5be900af (diff)
downloadsnowball-8244c1c47a213d909b91b8c464654ed679654cc5.tar.gz
Snowball: Use u8500_android_defconfig if exists else u8500_defconfig
The tracking snowball build does not have a u8500_android_defconfig in the kernel (at the moment). Use the u8500_defconfig instead. Based on http://review.android.git.linaro.org/2484 for Panda build. Change-Id: Ia4718a5602cd3fc883576b189d05cc610c75da05 Signed-off-by: Patrik Ryd <patrik.ryd@linaro.org>
-rw-r--r--BoardConfig.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 9852b4b..9db7394 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -6,7 +6,13 @@
TARGET_BOARD_PLATFORM := snowball
TARGET_NO_BOOTLOADER := true # Uses u-boot instead
TARGET_NO_KERNEL := false
+
+ifneq ($(wildcard $(TOP)/kernel/arch/arm/configs/u8500_android_defconfig),)
KERNEL_CONFIG := u8500_android_defconfig
+else
+KERNEL_CONFIG := u8500_defconfig
+endif
+
TARGET_USE_UBOOT := true
UBOOT_CONFIG := snowball_config
TARGET_USE_XLOADER := false