Created
September 7, 2019 16:16
-
-
Save TheStrix/f6c1cd9d5b84adb04f6c60fc03211d05 to your computer and use it in GitHub Desktop.
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
From 4014b9bc51e4180108ee527d8a3e4d235012691a Mon Sep 17 00:00:00 2001 | |
From: TheStrix <[email protected]> | |
Date: Sat, 7 Sep 2019 19:36:18 +0530 | |
Subject: [PATCH] pa: Add generic targets | |
Change-Id: If0eec96c119d5b41d1b19f5ce7d7102635daed30 | |
--- | |
build/target/product/AndroidProducts.mk | 21 +++++++++++++++++++++ | |
build/target/product/pa__x86_64.mk | 21 +++++++++++++++++++++ | |
build/target/product/pa_arm.mk | 23 +++++++++++++++++++++++ | |
build/target/product/pa_arm64.mk | 21 +++++++++++++++++++++ | |
build/target/product/pa_x86.mk | 23 +++++++++++++++++++++++ | |
5 files changed, 109 insertions(+) | |
create mode 100644 build/target/product/AndroidProducts.mk | |
create mode 100644 build/target/product/pa__x86_64.mk | |
create mode 100644 build/target/product/pa_arm.mk | |
create mode 100644 build/target/product/pa_arm64.mk | |
create mode 100644 build/target/product/pa_x86.mk | |
diff --git a/build/target/product/AndroidProducts.mk b/build/target/product/AndroidProducts.mk | |
new file mode 100644 | |
index 00000000..96048701 | |
--- /dev/null | |
+++ b/build/target/product/AndroidProducts.mk | |
@@ -0,0 +1,21 @@ | |
+# | |
+# Copyright (C) 2018 The LineageOS 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)/pa_arm.mk \ | |
+ $(LOCAL_DIR)/pa_arm64.mk \ | |
+ $(LOCAL_DIR)/pa_x86.mk \ | |
+ $(LOCAL_DIR)/pa_x86_64.mk | |
diff --git a/build/target/product/pa__x86_64.mk b/build/target/product/pa__x86_64.mk | |
new file mode 100644 | |
index 00000000..f9c5e1a9 | |
--- /dev/null | |
+++ b/build/target/product/pa__x86_64.mk | |
@@ -0,0 +1,21 @@ | |
+# Copyright (C) 2018 The LineageOS 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, build/target/product/aosp_x86_64.mk) | |
+$(call inherit-product, vendor/pa/main.mk) | |
+ | |
+# Allow building otatools | |
+TARGET_FORCE_OTA_PACKAGE := true | |
+ | |
+PRODUCT_NAME := pa_x86_64 | |
diff --git a/build/target/product/pa_arm.mk b/build/target/product/pa_arm.mk | |
new file mode 100644 | |
index 00000000..921ac9de | |
--- /dev/null | |
+++ b/build/target/product/pa_arm.mk | |
@@ -0,0 +1,23 @@ | |
+# Copyright (C) 2018 The LineageOS 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, build/target/product/aosp_arm.mk) | |
+$(call inherit-product, vendor/pa/main.mk) | |
+ | |
+# Allow building otatools | |
+TARGET_FORCE_OTA_PACKAGE := true | |
+ | |
+TARGET_USES_64_BIT_BINDER := true | |
+ | |
+PRODUCT_NAME := pa_arm | |
diff --git a/build/target/product/pa_arm64.mk b/build/target/product/pa_arm64.mk | |
new file mode 100644 | |
index 00000000..c7284156 | |
--- /dev/null | |
+++ b/build/target/product/pa_arm64.mk | |
@@ -0,0 +1,21 @@ | |
+# Copyright (C) 2018 The LineageOS 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, build/target/product/aosp_arm64.mk) | |
+$(call inherit-product, vendor/pa/main.mk) | |
+ | |
+# Allow building otatools | |
+TARGET_FORCE_OTA_PACKAGE := true | |
+ | |
+PRODUCT_NAME := pa_arm64 | |
diff --git a/build/target/product/pa_x86.mk b/build/target/product/pa_x86.mk | |
new file mode 100644 | |
index 00000000..b85a9821 | |
--- /dev/null | |
+++ b/build/target/product/pa_x86.mk | |
@@ -0,0 +1,23 @@ | |
+# Copyright (C) 2018 The LineageOS 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, build/target/product/aosp_x86.mk) | |
+$(call inherit-product, vendor/pa/main.mk) | |
+ | |
+# Allow building otatools | |
+TARGET_FORCE_OTA_PACKAGE := true | |
+ | |
+TARGET_USES_64_BIT_BINDER := true | |
+ | |
+PRODUCT_NAME := pa_x86 | |
-- | |
2.23.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment