Import vendor makefiles
Change-Id: I2157ac459d2d3c1e55af01a31d4dc18ed335ee7f
This commit is contained in:
1 parent
9cc5cba1b9
commit
c6f300cbbb
11 files changed
+337
-3
No files matched your search
@@ -16,7 +16,7 @@
|
||||
|
||||
# Only include Shield apps for first party targets
|
||||
ifneq ($(filter $(word 2,$(subst _, ,$(TARGET_PRODUCT))), foster foster_tab),)
|
||||
$(call inherit-product, device/nvidia/shield-common/shield.mk)
|
||||
include device/nvidia/shield-common/shield.mk
|
||||
endif
|
||||
|
||||
TARGET_REFERENCE_DEVICE ?= foster
|
||||
@@ -35,7 +35,7 @@ TARGET_TEGRA_WIDEVINE ?= true
|
||||
TARGET_TEGRA_WIFI ?= bcm
|
||||
TARGET_TEGRA_WIREGUARD ?= compat
|
||||
|
||||
$(call inherit-product, device/nvidia/t210-common/t210.mk)
|
||||
include device/nvidia/t210-common/t210.mk
|
||||
|
||||
# System properties
|
||||
include $(LOCAL_PATH)/system_prop.mk
|
||||
@@ -48,7 +48,7 @@ TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
|
||||
|
||||
$(call inherit-product, vendor/nvidia/foster/foster-vendor.mk)
|
||||
$(call inherit-product, device/nvidia/foster/vendor/foster-vendor.mk)
|
||||
|
||||
# Overlays
|
||||
DEVICE_PACKAGE_OVERLAYS += \
|
||||
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
# Copyright (C) 2020 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.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
COMMON_BUILD_PATH := device/nvidia/tegra-common/vendor/build
|
||||
|
||||
include $(COMMON_BUILD_PATH)/macros.mk
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
Vendored
+144
@@ -0,0 +1,144 @@
|
||||
# Copyright (C) 2020 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.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
FOSTER_BCM_PATH := ../../../../../vendor/nvidia/foster/bcm_firmware
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := nvram_darcy_a00
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/nvram_darcy_a00.txt
|
||||
LOCAL_MODULE_SUFFIX := .txt
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := nvram_foster_e_4354
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/nvram_foster_e_4354.txt
|
||||
LOCAL_MODULE_SUFFIX := .txt
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := nvram_foster_e_antenna_tuned_4354
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/nvram_foster_e_antenna_tuned_4354.txt
|
||||
LOCAL_MODULE_SUFFIX := .txt
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := nvram_loki_e_4354
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/nvram_loki_e_4354.txt
|
||||
LOCAL_MODULE_SUFFIX := .txt
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := nvram_loki_e_antenna_tuned_4354
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/nvram_loki_e_antenna_tuned_4354.txt
|
||||
LOCAL_MODULE_SUFFIX := .txt
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := nvram_jetsonE_cv_4354
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/nvram_jetsonE_cv_4354.txt
|
||||
LOCAL_MODULE_SUFFIX := .txt
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := nvram_smaug_4354
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/bcmdhd.cal
|
||||
LOCAL_MODULE_SUFFIX := .txt
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := brcmfmac4356-pcie.txt
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4356/brcmfmac4356-pcie.txt
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := bcmdhd_clm_darcy
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/darcy.clm_blob
|
||||
LOCAL_MODULE_SUFFIX := .blob
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := bcmdhd_clm_foster
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/foster.clm_blob
|
||||
LOCAL_MODULE_SUFFIX := .blob
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := bcmdhd_clm_loki
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/foster.clm_blob
|
||||
LOCAL_MODULE_SUFFIX := .blob
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := bcmdhd_clm_darcy_flynn-hp
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4354/flynn-hp.clm_blob
|
||||
LOCAL_MODULE_SUFFIX := .blob
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := brcmfmac4356-pcie.clm_blob
|
||||
LOCAL_SRC_FILES := $(FOSTER_BCM_PATH)/bcm4356/brcmfmac4356-pcie.clm_blob
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
# Copyright (C) 2020 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.
|
||||
|
||||
LOCAL_PATH := device/nvidia/foster/vendor/bcm_firmware
|
||||
COMMON_BCM_PATH := device/nvidia/tegra-common/vendor/bcm_firmware
|
||||
|
||||
$(call inherit-product, $(COMMON_BCM_PATH)/bcm4354/device-bcm.mk)
|
||||
$(call inherit-product, $(LOCAL_PATH)/clm.mk)
|
||||
$(call inherit-product, $(LOCAL_PATH)/nvram.mk)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
bcm4350 \
|
||||
BCM4354A2-13d3-3488 \
|
||||
bcm4356 \
|
||||
brcmfmac4356-pcie
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
# Copyright (C) 2020 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_PACKAGES += \
|
||||
bcmdhd_clm_darcy \
|
||||
bcmdhd_clm_darcy_flynn-hp \
|
||||
bcmdhd_clm_foster \
|
||||
bcmdhd_clm_loki \
|
||||
brcmfmac4356-pcie.clm_blob
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
# Copyright (C) 2020 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_PACKAGES += \
|
||||
nvram_darcy_a00 \
|
||||
nvram_foster_e_4354 \
|
||||
nvram_foster_e_antenna_tuned_4354 \
|
||||
nvram_loki_e_4354 \
|
||||
nvram_loki_e_antenna_tuned_4354 \
|
||||
nvram_jetsonE_cv_4354 \
|
||||
nvram_smaug_4354 \
|
||||
brcmfmac4356-pcie.txt
|
||||
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
# Copyright (C) 2020 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.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := public.libraries
|
||||
LOCAL_SRC_FILES := public.libraries.txt
|
||||
LOCAL_MODULE_SUFFIX := .txt
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
include $(BUILD_NVIDIA_PREBUILT)
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
libtsec_wrapper.so
|
||||
libnvsi_ll_2.so
|
||||
libnvos.so
|
||||
libnvrm.so
|
||||
libnvrm_graphics.so
|
||||
libnvgr.so
|
||||
libnvcpl_vendor.so
|
||||
libnvcontrol_jni.so
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
# Copyright (C) 2020 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.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
FOSTER_FIRMWARE_PATH := ../../../../../vendor/nvidia/foster/firmware
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := reboot_payload
|
||||
LOCAL_SRC_FILES := $(FOSTER_FIRMWARE_PATH)/hekate.bin
|
||||
LOCAL_MODULE_SUFFIX := .bin
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware/
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := nvidia
|
||||
include $(BUILD_NVIDIA_ARCH_PREBUILT)
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
# Copyright (C) 2020 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.
|
||||
|
||||
FOSTER_FIRMWARE_PATH := vendor/nvidia/foster/firmware
|
||||
|
||||
# Firmware
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(FOSTER_FIRMWARE_PATH)/hekate.bin:recovery/root/system/etc/firmware/reboot_payload.bin
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
# Copyright (C) 2020 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, device/nvidia/foster/vendor/foster-recovery.mk)
|
||||
$(call inherit-product, device/nvidia/t210-common/vendor/t210.mk)
|
||||
$(call inherit-product, device/nvidia/tegra-common/vendor/common-by-flags.mk)
|
||||
$(call inherit-product, device/nvidia/foster/vendor/bcm_firmware/bcm.mk)
|
||||
$(call inherit-product, device/nvidia/shield-common/vendor/shield-by-flags.mk)
|
||||
|
||||
PRODUCT_PACKAGES += public.libraries
|
||||
|
||||
# Switch reboot2payload hekate
|
||||
PRODUCT_PACKAGES += reboot_payload
|
||||
Reference in new issue
Block a user