-
Notifications
You must be signed in to change notification settings - Fork 9
/
p4wifi.mk
55 lines (44 loc) · 2.05 KB
/
p4wifi.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright (C) 2011 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.mk)
# The gps config appropriate for this device
$(call inherit-product, device/common/gps/gps_us_supl.mk)
$(call inherit-product, device/samsung/p4-common/p4-common.mk)
$(call inherit-product-if-exists, vendor/samsung/p4wifi/p4wifi-vendor.mk)
# Cameradata
PRODUCT_COPY_FILES += \
device/samsung/p4-common/camera/cameradata/back_camera_test_pattern.yuv:system/cameradata/back_camera_test_pattern.yuv \
device/samsung/p4-common/camera/cameradata/datapattern_420sp.yuv:system/cameradata/datapattern_420sp.yuv \
device/samsung/p4-common/camera/cameradata/datapattern_front_420sp.yuv:system/cameradata/datapattern_front_420sp.yuv \
device/samsung/p4-common/camera/cameradata/front_camera_test_pattern.yuv:system/cameradata/front_camera_test_pattern.yuv
# Hdmi
PRODUCT_COPY_FILES += \
device/samsung/p4-common/hdmi/dectable1.dat:system/etc/hdmi/dectable1.dat \
device/samsung/p4-common/hdmi/dectable.dat:system/etc/hdmi/dectable.dat
# Wifi mfg
PRODUCT_COPY_FILES += \
device/samsung/p4-common/wifi/bcmdhd_mfg.bin:system/etc/wifi/bcmdhd_mfg.bin
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/gps.xml:system/etc/gps.xml
# GPS config
PRODUCT_PROPERTY_OVERRIDES += \
my.gps=novzw
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_NAME := p4wifi
PRODUCT_DEVICE := p4wifi
PRODUCT_MODEL := p4wifi
PRODUCT_BRAND := samsung
PRODUCT_MANUFACTURER := samsung