aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto97 <albertop2197@gmail.com>2015-08-25 20:43:47 +0200
committerAlberto97 <albertop2197@gmail.com>2015-09-09 23:09:44 +0200
commit2303cc2ba37498f8d5eb9cc79f26303016aaf191 (patch)
treef39c6f15cd682a216d76317a4ad00578e554cc22
parent03529219164b274e9d7fe6d2147222bb2886f9b1 (diff)
peregrine: Move props to the common device tree
* Rename LOCAL_PATH to DEVICE_PATH * Use $(DEVICE_PATH) instead of hardcoded path Change-Id: I7d04b4c8dbd3fdd4e95f6a12586e62f09c4976fa
-rw-r--r--BoardConfig.mk13
-rw-r--r--system.prop4
2 files changed, 8 insertions, 9 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index d2991b8..9dbf305 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -16,18 +16,18 @@
# inherit from common msm8226-common
-include device/motorola/msm8226-common/BoardConfigCommon.mk
-LOCAL_PATH := device/motorola/peregrine
+DEVICE_PATH := device/motorola/peregrine
# Vendor Unification Init
TARGET_UNIFIED_DEVICE := true
TARGET_INIT_VENDOR_LIB := libinit_msm
-TARGET_LIBINIT_DEFINES_FILE := device/motorola/peregrine/init/init_peregrine.c
+TARGET_LIBINIT_DEFINES_FILE := $(DEVICE_PATH)/init/init_peregrine.c
# Board
-TARGET_BOARD_INFO_FILE := device/motorola/peregrine/board-info.txt
+TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
# Kernel
-BOARD_CUSTOM_BOOTIMG_MK := $(LOCAL_PATH)/mkbootimg.mk
+BOARD_CUSTOM_BOOTIMG_MK := $(DEVICE_PATH)/mkbootimg.mk
TARGET_KERNEL_CONFIG := peregrine_defconfig
# Partitions
@@ -36,8 +36,11 @@ BOARD_RECOVERYIMAGE_PARTITION_SIZE := 10485760
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1157627904
BOARD_USERDATAIMAGE_PARTITION_SIZE := 5930598400
+# Properties
+TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
+
# Recovery
-TARGET_RECOVERY_FSTAB := $(LOCAL_PATH)/rootdir/etc/fstab.qcom
+TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
# inherit from the proprietary version
-include vendor/motorola/peregrine/BoardConfigVendor.mk
diff --git a/system.prop b/system.prop
index 05de028..e69de29 100644
--- a/system.prop
+++ b/system.prop
@@ -1,4 +0,0 @@
-# system.prop for peregrine
-
-# radio
-rild.libargs=-d /dev/smd0