Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 34470d8
Showing
13 changed files
with
391 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
# WARNING: Everything listed here will be built on ALL platforms, | ||
# including x86, the emulator, and the SDK. Modules must be uniquely | ||
# named (liblights.tuna), and must build everywhere, or limit themselves | ||
# to only building on ARM if they include assembly. Individual makefiles | ||
# are responsible for having their own logic, for fine-grained control. | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
ifeq ($(TARGET_DEVICE),p5110) | ||
|
||
include $(call all-makefiles-under,$(LOCAL_PATH)) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
PRODUCT_MAKEFILES := \ | ||
$(LOCAL_DIR)/full_p5110.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
# Include p51xx BoardConfigCommon | ||
-include device/samsung/p5100/BoardConfigCommon.mk | ||
|
||
TARGET_BOARD_INFO_FILE := device/samsung/p5110/board-info.txt | ||
|
||
# Inline kernel building | ||
TARGET_KERNEL_SOURCE := kernel/samsung/espresso10 | ||
TARGET_KERNEL_CONFIG := cyanogenmod_p5110_defconfig | ||
|
||
# assert | ||
TARGET_OTA_ASSERT_DEVICE := p5110,GT-P5110 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Copyright (C) 2007 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. | ||
# | ||
|
||
# If you don't need to do a full clean build but would like to touch | ||
# a file or delete some intermediate files, add a clean step to the end | ||
# of the list. These steps will only be run once, if they haven't been | ||
# run before. | ||
# | ||
# E.g.: | ||
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h) | ||
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates) | ||
# | ||
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with | ||
# files that are missing or have been moved. | ||
# | ||
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory. | ||
# Use $(OUT_DIR) to refer to the "out" directory. | ||
# | ||
# If you need to re-do something that's already mentioned, just copy | ||
# the command and add it to the bottom of the list. E.g., if a change | ||
# that you made last week required touching a file and a change you | ||
# made today requires touching the same file, just copy the old | ||
# touch step and add it to the end of the list. | ||
# | ||
# ************************************************ | ||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST | ||
# ************************************************ | ||
|
||
# For example: | ||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates) | ||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates) | ||
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f) | ||
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*) | ||
$(call add-clean-step, find $(PRODUCT_OUT) -name "*.apk" | xargs rm) | ||
|
||
# ************************************************ | ||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST | ||
# ************************************************ | ||
$(call add-clean-step, rm -rf $(TARGET_OUT)/build.prop) | ||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5110/obj/SHARED_LIBRARIES/libaudio_intermediates) | ||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5110/obj/SHARED_LIBRARIES/libaudio_intermediates) | ||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5110/obj/STATIC_LIBRARIES/libasound_intermediates) | ||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5110/obj/EXECUTABLES/alsa_*) | ||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5110/system/bin/alsa_*) | ||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5110/system/etc/asound.conf) | ||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5110/system/usr/share/alsa) | ||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5110/obj/PACKAGING/systemimage_intermediates) | ||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5110/obj/SHARED_LIBRARIES/libaudio_intermediates) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
require board=espresso10 | ||
require version-bootloader=P5110XWALE2 | ||
require version-baseband=P5110XWALE2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"repository": "android_device_samsung_p5100", | ||
"target_path": "device/samsung/p5100" | ||
}, | ||
{ | ||
"repository": "android_kernel_samsung_espresso10", | ||
"target_path": "kernel/samsung/espresso10" | ||
}, | ||
{ | ||
"repository": "android_packages_apps_SamsungServiceMode", | ||
"target_path": "packages/apps/SamsungServiceMode" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
## Specify phone tech before including full_phone | ||
$(call inherit-product, vendor/cm/config/gsm.mk) | ||
|
||
# Release name | ||
PRODUCT_RELEASE_NAME := GT-P5110 | ||
|
||
# Inherit some common CM stuff. | ||
$(call inherit-product, vendor/cm/config/common_full_tablet_wifionly.mk) | ||
|
||
# Inherit device configuration | ||
$(call inherit-product, device/samsung/p5110/full_p5110.mk) | ||
|
||
## Device identifier. This must come after all inclusions | ||
PRODUCT_DEVICE := p5110 | ||
PRODUCT_NAME := cm_p5110 | ||
PRODUCT_BRAND := samsung | ||
PRODUCT_MODEL := GT-P5110 | ||
PRODUCT_MANUFACTURER := samsung | ||
|
||
#Set build fingerprint / ID / Prduct Name ect. | ||
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=GT-P5110 TARGET_DEVICE=GT-P5110 BUILD_FINGERPRINT=samsung/espresso10rfxx/espresso10rf:4.0.3/IML74K/P5110XWALE2:user/release-keys PRIVATE_BUILD_DESC="espresso10rfxx-user 4.0.3 IML74K P5110XWALE2 release-keys" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
#!/bin/sh | ||
|
||
# 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. | ||
|
||
# This file is generated by device/common/generate-blob-scripts.sh - DO NOT EDIT | ||
|
||
DEVICE=p51xx | ||
MANUFACTURER=samsung | ||
|
||
mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary | ||
|
||
adb pull /system/bin/bcm4330B1.hcd ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/bin/bcm4330B1.hcd | ||
|
||
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/$DEVICE-vendor-blobs.mk | ||
# 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. | ||
# This file is generated by device/__MANUFACTURER__/__DEVICE__/extract-files.sh - DO NOT EDIT | ||
LOCAL_PATH := vendor/__MANUFACTURER__/__DEVICE__ | ||
# Prebuilt libraries that are needed to build open-source libraries | ||
PRODUCT_COPY_FILES := \\ | ||
\$(LOCAL_PATH)/proprietary/system/lib/libril.so:obj/lib/libril.so \\ | ||
\$(LOCAL_PATH)/proprietary/system/lib/libsecril-client.so:obj/lib/libsecril-client.so | ||
PRODUCT_COPY_FILES += \\ | ||
\$(LOCAL_PATH)/proprietary/system/bin/bcm4330B1.hcd:system/bin/bcm4330B1.hcd \\ | ||
\$(LOCAL_PATH)/proprietary/system/bin/bintvoutservice:system/bin/bintvoutservice \\ | ||
EOF | ||
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/Android.mk | ||
# 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. | ||
# This file is generated by device/__MANUFACTURER__/__DEVICE__/extract-files.sh - DO NOT EDIT | ||
ifeq (\$(TARGET_DEVICE),p5100) | ||
LOCAL_PATH:=\$(call my-dir) | ||
endif | ||
EOF | ||
./setup-makefiles.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
# Inherit from those products. Most specific first. | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) | ||
$(call inherit-product, device/samsung/p5110/p5110.mk) | ||
|
||
# Discard inherited values and use our own instead. | ||
PRODUCT_NAME := full_p5110 | ||
PRODUCT_DEVICE := p5110 | ||
PRODUCT_BRAND := samsung | ||
PRODUCT_MANUFACTURER := samsung | ||
PRODUCT_MODEL := GT-P5110 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
$(call inherit-product, device/samsung/p5100/p51xx-common.mk) | ||
|
||
LOCAL_PATH := device/samsung/p5110 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# mount point fstype device | ||
|
||
/system ext4 /dev/block/mmcblk0p9 | ||
/cache ext4 /dev/block/mmcblk0p7 | ||
/data ext4 /dev/block/mmcblk0p10 length=-16384 | ||
/efs ext4 /dev/block/mmcblk0p1 | ||
/misc emmc misc | ||
/boot emmc /dev/block/mmcblk0p5 | ||
/recovery emmc /dev/block/mmcblk0p6 | ||
/bootloader emmc /dev/block/mmcblk0p2 | ||
/modem emmc /dev/block/mmcblk0p8 | ||
/preload ext4 /dev/block/mmcblk0p11 | ||
/extsdcard vfat /dev/block/mmcblk1p1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
#!/bin/sh | ||
|
||
# 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. | ||
|
||
DEVICE=p51xx | ||
MANUFACTURER=samsung | ||
|
||
mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE | ||
|
||
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/p51xx-vendor.mk | ||
# 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. | ||
# Pick up overlay for features that depend on non-open-source files | ||
DEVICE_PACKAGE_OVERLAYS := vendor/__MANUFACTURER__/__DEVICE__/overlay | ||
\$(call inherit-product, vendor/__MANUFACTURER__/__DEVICE__/p51xx-vendor-blobs.mk) | ||
EOF | ||
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/BoardConfigVendor.mk | ||
# 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. | ||
# This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh | ||
USE_CAMERA_STUB := false | ||
BOARD_USES_GENERIC_AUDIO := false | ||
EOF |
Oops, something went wrong.