From 196d449fe7b3b92118d4492fa6b21eb331f75c37 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Wed, 29 Mar 2023 00:18:17 +0000 Subject: [PATCH] Make the firmware directory if it doesn't exist, and trap the error if it does. --- packages/kernel/linux-firmware/RTL8821CS-firmware/package.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/kernel/linux-firmware/RTL8821CS-firmware/package.mk b/packages/kernel/linux-firmware/RTL8821CS-firmware/package.mk index 72b58bb9c..01a5db66d 100644 --- a/packages/kernel/linux-firmware/RTL8821CS-firmware/package.mk +++ b/packages/kernel/linux-firmware/RTL8821CS-firmware/package.mk @@ -17,6 +17,7 @@ make_target() { makeinstall_target() { mkdir -p ${INSTALL}/usr/bin cp -v $(get_build_dir linux)/wifibt/rtk_hciattach ${INSTALL}/usr/bin + mkdir -p ${INSTALL}/$(get_full_firmware_dir) ||: cp -v $(get_build_dir linux)/wifibt/rtl8821c_fw ${INSTALL}/$(get_full_firmware_dir) cp -v $(get_build_dir linux)/wifibt/rtl8821cs_config ${INSTALL}/$(get_full_firmware_dir)/rtl8821c_config }