From 9b8d4fd4b51e98677805a611b34fcdefb36a546a Mon Sep 17 00:00:00 2001 From: Vishal Bhoj Date: Fri, 10 Aug 2012 02:41:03 +0000 Subject: pandaboard: Pass the correct egl.cfg based on the kernel Change-Id: I643454516453f506fa2d5c977bb9f90d7dc85571 Signed-off-by: Vishal Bhoj --- BoardConfig.mk | 4 ++-- softwaregfx/egl.cfg | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 softwaregfx/egl.cfg diff --git a/BoardConfig.mk b/BoardConfig.mk index 6756b35..c14cba1 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -8,8 +8,10 @@ TARGET_NO_BOOTLOADER := true # Uses u-boot instead TARGET_NO_KERNEL := false DEVICE_TREES := omap4-panda:board.dtb ifneq ($(wildcard $(TOP)/kernel/arch/arm/configs/android_omap4_defconfig),) +BOARD_EGL_CFG := device/linaro/pandaboard/egl.cfg KERNEL_CONFIG := android_omap4_defconfig else +BOARD_EGL_CFG := device/linaro/pandaboard/softwaregfx/egl.cfg KERNEL_CONFIG := omap4plus_defconfig endif TARGET_USE_UBOOT := true @@ -70,8 +72,6 @@ EXTRA_PACKAGE_MANAGEMENT := false TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true -BOARD_EGL_CFG := device/ti/panda/egl.cfg - #BOARD_USES_HGL := true #BOARD_USES_OVERLAY := true USE_OPENGL_RENDERER := true diff --git a/softwaregfx/egl.cfg b/softwaregfx/egl.cfg new file mode 100644 index 0000000..c4a1437 --- /dev/null +++ b/softwaregfx/egl.cfg @@ -0,0 +1 @@ +0 0 android -- cgit v1.2.3