TeamWin is now targeting aosp to build twrp. Make a separate target to allow differentiating twrp and normal aosp. Include the lineage makefile for the unified build flags. The other flags wont apply when only building recovery Change-Id: I8d067b50d02d6e20e8865bdc4dcc414dd73b4c4b
24 lines
878 B
Makefile
24 lines
878 B
Makefile
# Copyright (C) 2021 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.
|
|
|
|
# Inherit some common twrp stuff.
|
|
$(call inherit-product, vendor/twrp/config/common.mk)
|
|
|
|
# Inherit device configuration for foster.
|
|
include device/nvidia/foster/lineage.mk
|
|
$(call inherit-product, device/nvidia/foster/full_foster.mk)
|
|
|
|
PRODUCT_NAME := twrp_foster
|
|
PRODUCT_DEVICE := foster
|