From eec900c3f2f2c1fbad96e8594967229ecc7a0c0f Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 5 Jun 2019 00:22:40 +0200 Subject: Use the lineage build system Signed-off-by: Denis 'GNUtoo' Carikli --- AndroidProducts.mk | 2 +- README.md | 2 +- aosp_i9305.mk | 28 ---------------------------- lineage_i9305.mk | 29 +++++++++++++++++++++++++++++ vendorsetup.sh | 2 +- 5 files changed, 32 insertions(+), 31 deletions(-) delete mode 100644 aosp_i9305.mk create mode 100644 lineage_i9305.mk diff --git a/AndroidProducts.mk b/AndroidProducts.mk index ca11cef..37e30b4 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -15,4 +15,4 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/aosp_i9305.mk + $(LOCAL_DIR)/lineage_i9305.mk diff --git a/README.md b/README.md index 72fec5a..8a90f56 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Run the following commands to build AOSP: ` . build/envsetup.sh -lunch aosp_i9305-userdebug +lunch lineage_i9305-userdebug make -j9 ` diff --git a/aosp_i9305.mk b/aosp_i9305.mk deleted file mode 100644 index 4a67c97..0000000 --- a/aosp_i9305.mk +++ /dev/null @@ -1,28 +0,0 @@ -# -# Copyright 2018 Joonas Kylmälä -# -# 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) -$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk) -$(call inherit-product, device/samsung/i9305/device.mk) - -PRODUCT_NAME := aosp_i9305 -PRODUCT_DEVICE := i9305 -PRODUCT_BRAND := Putti -PRODUCT_MODEL := AOSP on i9305 -PRODUCT_MANUFACTURER := Putti - -# Disable A/B update -AB_OTA_UPDATER := false diff --git a/lineage_i9305.mk b/lineage_i9305.mk new file mode 100644 index 0000000..2529466 --- /dev/null +++ b/lineage_i9305.mk @@ -0,0 +1,29 @@ +# +# Copyright 2018 Joonas Kylmälä +# +# 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/aosp_base.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk) +$(call inherit-product, device/samsung/i9305/device.mk) +$(call inherit-product, vendor/lineage/config/common_full.mk) + +PRODUCT_NAME := lineage_i9305 +PRODUCT_DEVICE := i9305 +PRODUCT_BRAND := Putti +PRODUCT_MODEL := Lineage on i9305 +PRODUCT_MANUFACTURER := Putti + +# Disable A/B update +AB_OTA_UPDATER := false diff --git a/vendorsetup.sh b/vendorsetup.sh index f97940f..bf5fcfb 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -14,4 +14,4 @@ # limitations under the License. # -add_lunch_combo aosp_i9305-userdebug +add_lunch_combo lineage_i9305-userdebug -- cgit v1.2.3