aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2015-12-22 13:55:40 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-01-01 05:08:08 -0800
commit305d2a578d3f12161869b693c82c4a073aec6db3 (patch)
treee93d209f81d854b5431d618e82f9ea77fa542416
parent86389e37cbb1a84bb7168ee27102beca2362bad6 (diff)
downloaddevice_samsung_espressowifi-305d2a578d3f12161869b693c82c4a073aec6db3.zip
device_samsung_espressowifi-305d2a578d3f12161869b693c82c4a073aec6db3.tar.gz
device_samsung_espressowifi-305d2a578d3f12161869b693c82c4a073aec6db3.tar.bz2
espresso-common: move some more parts to espresso-common (5/5)
- we share one kernel source - get rid of BoardConfigCommon.mk in p3100/p5100 trees - get rid of p31xx/p51xx-common.mk - move common proprietary list Change-Id: I2d4d2ff0d29ae7a4bab6467dcc55ed27c4893514
-rw-r--r--BoardConfigCommon.mk2
-rw-r--r--espresso-common.mk20
-rw-r--r--overlay/aosp-p31xx/frameworks/base/core/res/res/values/config.xml28
-rw-r--r--proprietary-p31xx-files.txt33
-rw-r--r--proprietary-p51xx-files.txt39
5 files changed, 122 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 21237ba..3d4182e 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -27,6 +27,8 @@ TARGET_NO_RADIOIMAGE := true
TARGET_BOARD_OMAP_CPU := 4430
TARGET_BOOTLOADER_BOARD_NAME := piranha
+# Inline kernel building
+TARGET_KERNEL_SOURCE := kernel/samsung/espresso10
BOARD_NAND_PAGE_SIZE := 4096
BOARD_NAND_SPARE_SIZE := 128
BOARD_KERNEL_PAGESIZE := 2048
diff --git a/espresso-common.mk b/espresso-common.mk
index 17efb39..b65c0f7 100644
--- a/espresso-common.mk
+++ b/espresso-common.mk
@@ -26,6 +26,26 @@ $(call inherit-product, device/common/gps/gps_us_supl.mk)
LOCAL_PATH := device/samsung/espresso-common
+# Enable higher-res drawables while keeping mdpi as primary source
+PRODUCT_AAPT_CONFIG := large
+PRODUCT_AAPT_PREF_CONFIG := mdpi
+PRODUCT_LOCALES += mdpi
+
+# Ramdisk
+PRODUCT_PACKAGES += \
+ fstab.espresso \
+ fstab.espresso10 \
+ init.espresso.usb.rc \
+ init.espresso10.usb.rc \
+ init.espresso.rc \
+ init.espresso10.rc \
+ ueventd.espresso.rc \
+ ueventd.espresso10.rc
+
+# Recovery Ramdisk
+PRODUCT_PACKAGES += \
+ init.recovery.espresso.rc
+
# GPS
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/gps.xml:system/etc/gps.xml
diff --git a/overlay/aosp-p31xx/frameworks/base/core/res/res/values/config.xml b/overlay/aosp-p31xx/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..fc41b6a
--- /dev/null
+++ b/overlay/aosp-p31xx/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2009, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. Do not translate. -->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- If this is true, the screen will fade off. -->
+ <bool name="config_animateScreenLights">true</bool>
+
+</resources>
+
diff --git a/proprietary-p31xx-files.txt b/proprietary-p31xx-files.txt
new file mode 100644
index 0000000..18b6226
--- /dev/null
+++ b/proprietary-p31xx-files.txt
@@ -0,0 +1,33 @@
+system/bin/geomagneticd
+system/bin/gpsd
+system/bin/orientationd
+system/bin/smc.ini
+system/bin/smc_pa.ift
+system/etc/wifi/bcmdhd_apsta.bin
+system/etc/wifi/bcmdhd_mfg.bin
+system/etc/wifi/bcmdhd_p2p.bin
+system/etc/wifi/bcmdhd_sta.bin
+system/etc/wifi/nvram_mfg.txt
+system/etc/wifi/nvram_net.txt
+system/lib/hw/vendor-camera.piranha.so
+system/lib/hw/gps.omap4.so
+system/lib/libI420colorconvert.so
+system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so
+system/lib/libOMX_Core.so
+system/lib/libQmageDecoder.so
+system/lib/libdomx.so
+system/lib/libion.omap4.so
+system/lib/libmm_osal.so
+system/lib/libsecnativefeature.so
+system/lib/libtiutils.so
+system/vendor/firmware/BCM4330.hcd
+system/vendor/firmware/ducati-m3.bin
+system/vendor/lib/drm/libdrmwvmplugin.so
+system/vendor/lib/libWVStreamControlAPI_L1.so
+system/vendor/lib/libwvdrm_L1.so
+system/vendor/lib/libwvm.so
diff --git a/proprietary-p51xx-files.txt b/proprietary-p51xx-files.txt
new file mode 100644
index 0000000..c3eebbf
--- /dev/null
+++ b/proprietary-p51xx-files.txt
@@ -0,0 +1,39 @@
+system/bin/bintvoutservice
+system/bin/geomagneticd
+system/bin/gpsd
+system/bin/orientationd
+system/bin/smc.ini
+system/bin/smc_pa.ift
+system/etc/wifi/bcmdhd_apsta.bin
+system/etc/wifi/bcmdhd_mfg.bin
+system/etc/wifi/bcmdhd_p2p.bin
+system/etc/wifi/bcmdhd_sta.bin
+system/etc/wifi/nvram_mfg.txt
+system/etc/wifi/nvram_net.txt
+system/lib/hw/vendor-camera.piranha.so
+system/lib/hw/gps.omap4.so
+system/lib/hw/sensors.omap4.so
+system/lib/libdomx.so
+system/lib/libhdcp.so
+system/lib/libI420colorconvert.so
+system/lib/libion.omap4.so
+system/lib/libmm_osal.so
+system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so
+system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so
+system/lib/libOMX_Core.so
+system/lib/libQmageDecoder.so
+system/lib/libsecnativefeature.so
+system/lib/libtvoutinterface.so
+system/lib/libtvout_jni.so
+system/lib/libtvoutservice.so
+system/lib/libtiutils.so
+system/vendor/firmware/BCM4330.hcd
+system/vendor/firmware/ducati-m3.bin
+system/vendor/lib/drm/libdrmwvmplugin.so
+system/vendor/lib/libWVStreamControlAPI_L1.so
+system/vendor/lib/libwvdrm_L1.so
+system/vendor/lib/libwvm.so