aboutsummaryrefslogtreecommitdiffstats
path: root/n5110.mk
diff options
context:
space:
mode:
authorsbrissen <sbrissen@hotmail.com>2013-07-16 16:11:37 -0400
committersbrissen <sbrissen@hotmail.com>2013-07-16 16:11:37 -0400
commit6c796b0257e8e9cf37d784d33fe101a9b6f5c89b (patch)
treedcbed2b9d558a9c6350ff61403a94b6565e1e63b /n5110.mk
downloaddevice_samsung_n5110-6c796b0257e8e9cf37d784d33fe101a9b6f5c89b.tar.gz
device_samsung_n5110-6c796b0257e8e9cf37d784d33fe101a9b6f5c89b.tar.bz2
device_samsung_n5110-6c796b0257e8e9cf37d784d33fe101a9b6f5c89b.zip
n5110: initial commit
Diffstat (limited to 'n5110.mk')
-rw-r--r--n5110.mk70
1 files changed, 70 insertions, 0 deletions
diff --git a/n5110.mk b/n5110.mk
new file mode 100644
index 0000000..68ca0b1
--- /dev/null
+++ b/n5110.mk
@@ -0,0 +1,70 @@
+#
+# Copyright (C) 2012 The CyanogenMod 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.
+#
+
+LOCAL_PATH := device/samsung/n5110
+
+DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
+
+PRODUCT_AAPT_CONFIG := xlarge mdpi
+PRODUCT_AAPT_PREF_CONFIG := mdpi
+
+TARGET_SCREEN_HEIGHT := 1280
+TARGET_SCREEN_WIDTH := 800
+
+# Init files
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/rootdir/init.smdk4x12.rc:root/init.smdk4x12.rc \
+ $(LOCAL_PATH)/rootdir/init.smdk4x12.usb.rc:root/init.smdk4x12.usb.rc \
+ $(LOCAL_PATH)/rootdir/ueventd.smdk4x12.rc:root/ueventd.smdk4x12.rc \
+ $(LOCAL_PATH)/rootdir/ueventd.smdk4x12.rc:recovery/root/ueventd.smdk4x12.rc \
+ $(LOCAL_PATH)/rootdir/lpm.rc:root/lpm.rc \
+ $(LOCAL_PATH)/rootdir/fstab.smdk4x12:root/fstab.smdk4x12
+
+# Packages
+PRODUCT_PACKAGES += \
+ tiny_hw \
+ libsecril-client \
+ DeviceSettings \
+ SamsungServiceMode
+
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/configs/gps.xml:system/etc/gps.xml \
+ $(LOCAL_PATH)/configs/nvram_mfg.txt:system/etc/wifi/nvram_mfg.txt \
+ $(LOCAL_PATH)/configs/nvram_mfg.txt_murata:system/etc/wifi/nvram_mfg.txt_murata \
+ $(LOCAL_PATH)/configs/nvram_net.txt:system/etc/wifi/nvram_net.txt \
+ $(LOCAL_PATH)/configs/nvram_net.txt_murata:system/etc/wifi/nvram_net.txt_murata
+
+# RIL
+PRODUCT_PROPERTY_OVERRIDES += \
+ mobiledata.interfaces=wlan0
+
+# Charger
+PRODUCT_PACKAGES += \
+ charger \
+ charger_res_images
+
+# These are the hardware-specific features
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml
+
+# Set product characteristic to tablet, needed for some ui elements
+PRODUCT_CHARACTERISTICS := tablet
+
+$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
+
+$(call inherit-product, device/samsung/smdk4412-common/common.mk)
+
+$(call inherit-product-if-exists, vendor/samsung/n5110/n5110-vendor.mk) \ No newline at end of file