Make the firmware directory if it doesn't exist, and trap the error if it does.

This commit is contained in:
fewtarius 2023-03-29 00:18:17 +00:00
parent 47dda85992
commit 196d449fe7
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -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
}