33 lines
1.6 KiB
Makefile
33 lines
1.6 KiB
Makefile
# Orange Pi 5 Ultra vendor configuration
|
|
#
|
|
# Provides firmware blobs and vendor makefile for the Orange Pi 5 Ultra.
|
|
# Inherited by device/rockchip/tart/device.mk.
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
vendor/rockchip/tart
|
|
|
|
# Ship the entire proprietary firmware tree to /vendor/firmware, preserving the
|
|
# linux-firmware directory layout that the in-kernel drivers request (e.g.
|
|
# mediatek/, rtlwifi/, rtw88/, ath9k_htc/, arm/mali/, brcm/). The kernel's
|
|
# patched fw_path[] searches /vendor/firmware directly at runtime, so simply
|
|
# adding a file under proprietary/vendor/firmware/ installs it -- there is no
|
|
# need to enumerate each blob here.
|
|
tart_firmware_src := vendor/rockchip/tart/proprietary/vendor/firmware
|
|
PRODUCT_COPY_FILES += \
|
|
$(foreach f,$(shell find $(tart_firmware_src) -type f 2>/dev/null | sort), \
|
|
$(f):$(TARGET_COPY_OUT_VENDOR)/firmware/$(patsubst $(tart_firmware_src)/%,%,$(f)))
|
|
tart_firmware_src :=
|
|
|
|
# WiFi firmware provided by AOSP's curated external/linux-firmware Soong
|
|
# modules. These chips are intentionally NOT in proprietary/vendor/firmware/
|
|
# (duplicating the install path breaks the build with "overriding commands"),
|
|
# and a Soong install rule only ships when its module is listed here:
|
|
# - linux_firmware_mt7921: MT7961/MT7921* (e.g. BrosTrend AXE3000 USB)
|
|
# - linux_firmware_mt7925: MT7925 WiFi 7 USB
|
|
# - linux_firmware_rt2800usb: rt2870.bin for the ubiquitous Ralink dongles
|
|
# - linux_firmware_rtw88-rtw8822c: RTL8822CU
|
|
PRODUCT_PACKAGES += \
|
|
linux_firmware_mt7921 \
|
|
linux_firmware_mt7925 \
|
|
linux_firmware_rt2800usb \
|
|
linux_firmware_rtw88-rtw8822c
|