From 07e2c8168b2cbf2ed549d8251dbfb67eb67b9ad7 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Wed, 27 Apr 2022 15:06:10 -0400 Subject: [PATCH] beast: Import device-specific init.amlogic.wifi_buildin.rc Change-Id: Ia4fd506bdc90eea15a5e680e2cffd194ed7f98f5 --- device.mk | 4 ++++ init-files/init.amlogic.wifi_buildin.rc | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 init-files/init.amlogic.wifi_buildin.rc diff --git a/device.mk b/device.mk index 8d6dc1b..2e30c5b 100644 --- a/device.mk +++ b/device.mk @@ -14,6 +14,10 @@ $(call inherit-product, device/amlogic/gx-common/gx.mk) BOARD_HAVE_BLUETOOTH_RTK_TV := true include hardware/realtek/rtkbt/rtkbt.mk +## Init-Files +PRODUCT_COPY_FILES += \ + $(DEVICE_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc + ## Kernel Modules PRODUCT_PACKAGES += \ 8822bs diff --git a/init-files/init.amlogic.wifi_buildin.rc b/init-files/init.amlogic.wifi_buildin.rc new file mode 100644 index 0000000..7ac5754 --- /dev/null +++ b/init-files/init.amlogic.wifi_buildin.rc @@ -0,0 +1,2 @@ +on boot + insmod /vendor/lib/modules/8822bs.ko ifname=wlan0 if2name=p2p0 -- 2.20.1