sm8150-common: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images. Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
This commit is contained in:
parent
f01d60914b
commit
26b2351a27
19
Android.bp
19
Android.bp
|
@ -1,3 +1,8 @@
|
|||
//
|
||||
// Copyright (C) 2021-2024 The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
soong_namespace {
|
||||
}
|
||||
|
||||
|
@ -23,3 +28,17 @@ prebuilt_hidl_interfaces {
|
|||
"com.qualcomm.qti.dpm.api@1.0::IdpmQmi",
|
||||
],
|
||||
}
|
||||
|
||||
install_symlink {
|
||||
name: "firmware_wlan_mac.bin_symlink",
|
||||
vendor: true,
|
||||
installed_location: "firmware/wlan/qca_cld/wlan_mac.bin",
|
||||
symlink_target: "/mnt/vendor/persist/wlan_mac.bin",
|
||||
}
|
||||
|
||||
install_symlink {
|
||||
name: "firmware_WCNSS_qcom_cfg.ini_symlink",
|
||||
vendor: true,
|
||||
installed_location: "firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini",
|
||||
symlink_target: "/vendor/etc/wifi/WCNSS_qcom_cfg.ini",
|
||||
}
|
||||
|
|
|
@ -11,13 +11,4 @@ include $(call all-makefiles-under,$(LOCAL_PATH))
|
|||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
WIFI_FIRMWARE_SYMLINKS := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld
|
||||
$(WIFI_FIRMWARE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "Creating wifi firmware symlinks: $@"
|
||||
mkdir -p $@
|
||||
$(hide) ln -sf /vendor/etc/wifi/WCNSS_qcom_cfg.ini $@/WCNSS_qcom_cfg.ini
|
||||
$(hide) ln -sf /mnt/vendor/persist/wlan_mac.bin $@/wlan_mac.bin
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(WIFI_FIRMWARE_SYMLINKS)
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue