Merge pull request #1207 from fewtarius/dev

Make the firmware directory if it doesn't exist, and trap the error if it does.
This commit is contained in:
fewtarius 2023-03-28 20:18:41 -04:00 committed by GitHub
commit eaef72574d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
}