summaryrefslogtreecommitdiff
path: root/device_32.mk
diff options
context:
space:
mode:
authorFengwei Yin <fengwei.yin@linaro.org>2016-02-04 15:57:11 +0800
committerFengwei Yin <fengwei.yin@linaro.org>2016-02-04 15:57:11 +0800
commit9edc02d4c644ee43c94ea26305ef4e4a01b71667 (patch)
tree87a5b4f4af653d69e18110db0bf464cd26a9caca /device_32.mk
parent05866b98fabfd1d4cb1a3020206e7eab21c879ca (diff)
downloadgeneric-9edc02d4c644ee43c94ea26305ef4e4a01b71667.tar.gz
Local change from yfw
Diffstat (limited to 'device_32.mk')
-rw-r--r--device_32.mk41
1 files changed, 41 insertions, 0 deletions
diff --git a/device_32.mk b/device_32.mk
new file mode 100644
index 0000000..e161201
--- /dev/null
+++ b/device_32.mk
@@ -0,0 +1,41 @@
+#
+# Copyright (C) 2014 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.
+#
+
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
+
+PRODUCT_NAME := $(TARGET_PRODUCT)
+PRODUCT_DEVICE := $(TARGET_PRODUCT)
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := AOSP
+
+PRODUCT_PACKAGES += \
+ libGLES_mesa \
+ libGLES_android \
+ hwcomposer.drm \
+ gralloc.drm
+
+PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
+ system/core/rootdir/init.rc:root/init.rc \
+ $(LOCAL_PATH)/init.rc:root/init.unknown.rc \
+ $(LOCAL_PATH)/fstab:root/fstab.unknown)
+
+PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
+ $(LOCAL_PATH)/a300_pfp.fw:root/lib/firmware/a300_pfp.fw \
+ $(LOCAL_PATH)/a300_pm4.fw:root/lib/firmware/a300_pm4.fw \
+)
+
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote32
+PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc