m5: Refactor how we handle installation
[GitHub/LineageOS/G12/android_device_bananapi_m5.git] / device.mk
1 #
2 # Copyright (C) 2021-2022 The LineageOS Project
3 #
4 # SPDX-License-Identifier: Apache-2.0
5 #
6
7 ## Bluetooth
8 BOARD_HAVE_BLUETOOTH_RTK_TV := true
9 include hardware/realtek/rtkbt/rtkbt.mk
10
11 ## Factory
12 PRODUCT_HOST_PACKAGES += \
13 aml_image_packer
14
15 ## Init-Files
16 PRODUCT_COPY_FILES += \
17 $(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc
18
19 ## Kernel Modules
20 PRODUCT_PACKAGES += \
21 8822cs \
22 rtk_btusb
23
24 ## Overlays
25 DEVICE_PACKAGE_OVERLAYS += \
26 $(LOCAL_PATH)/overlay
27
28 ## Inherit from the common tree product makefile
29 $(call inherit-product, device/amlogic/g12-common/g12.mk)