diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2012-08-10 02:41:03 +0000 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2012-08-10 02:41:03 +0000 |
commit | 9b8d4fd4b51e98677805a611b34fcdefb36a546a (patch) | |
tree | 9ffaca6d9a8c468ec582e66e74f34b9baf230e34 | |
parent | 75cd98a552cad2ca7f02668bd36bf68966a6bafe (diff) | |
download | pandaboard-9b8d4fd4b51e98677805a611b34fcdefb36a546a.tar.gz |
pandaboard: Pass the correct egl.cfg based on the kernel
Change-Id: I643454516453f506fa2d5c977bb9f90d7dc85571
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r-- | BoardConfig.mk | 4 | ||||
-rw-r--r-- | softwaregfx/egl.cfg | 1 |
2 files changed, 3 insertions, 2 deletions
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 |