mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Rework JetHub symlinking
This commit is contained in:
@@ -159,8 +159,11 @@ buildjethomecmds() {
|
||||
# Wifi & Bluetooth
|
||||
run_host_command_logged mkdir -pv --mode=755 "$destination/lib/firmware/" || exit_with_error "Unable to mkdir firmware"
|
||||
run_host_command_logged mkdir -v --mode=775 "$destination/lib/firmware/brcm/" || exit_with_error "Unable to mkdir brcm"
|
||||
run_host_command_logged cp -Pv "$SRC"/packages/bsp/jethub/"$BOARD"/{BCM4345C0.hcd,'brcmfmac43455-sdio.jethome,jethub-j100.txt','brcmfmac43455-sdio.jethome,jethub-j100.bin','brcmfmac43456-sdio.jethome,jethub-j100.txt','brcmfmac43456-sdio.jethome,jethub-j100.bin'} "$destination/lib/firmware/brcm/" || exit_with_error "Unable to copy brcm firmware symlinks"
|
||||
|
||||
run_host_command_logged ln -s "../BCM4345C0.hcd" "$destination/lib/firmware/brcm/BCM4345C0.hcd"
|
||||
run_host_command_logged ln -s "brcmfmac43455-sdio.bin" "$destination/lib/firmware/brcm/brcmfmac43455-sdio.jethome,jethub-j100.bin"
|
||||
run_host_command_logged ln -s "brcmfmac43455-sdio.txt" "$destination/lib/firmware/brcm/brcmfmac43455-sdio.jethome,jethub-j100.txt"
|
||||
run_host_command_logged ln -s "brcmfmac43456-sdio.bin" "$destination/lib/firmware/brcm/brcmfmac43456-sdio.jethome,jethub-j100.bin"
|
||||
run_host_command_logged ln -s "brcmfmac43456-sdio.txt" "$destination/lib/firmware/brcm/brcmfmac43456-sdio.jethome,jethub-j100.txt"
|
||||
else
|
||||
exit_with_error "Unexpected board \"$BOARD\""
|
||||
fi
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../BCM4345C0.hcd
|
||||
@@ -1 +0,0 @@
|
||||
brcmfmac43455-sdio.bin
|
||||
@@ -1 +0,0 @@
|
||||
brcmfmac43455-sdio.txt
|
||||
@@ -1 +0,0 @@
|
||||
brcmfmac43456-sdio.bin
|
||||
@@ -1 +0,0 @@
|
||||
brcmfmac43456-sdio.txt
|
||||
Reference in New Issue
Block a user