File tree Expand file tree Collapse file tree 3 files changed +11
-23
lines changed
aarch64/raspberrypi-rpi64 Expand file tree Collapse file tree 3 files changed +11
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -63,5 +63,16 @@ define RASPBERRYPI_RPI64_LINUX_CONFIG_FIXUPS
6363 $(call KCONFIG_ENABLE_OPT,CONFIG_BACKLIGHT_CLASS_DEVICE)
6464endef
6565
66+ ifeq ($(BR2_PACKAGE_RASPBERRYPI_RPI64 ) ,y)
67+
68+ # Armbian firmware installs to /lib/firmware but driver wants the
69+ # file(s) in /lib/firmware/brcm/
70+ define RPI64_FIXUP_FIRMWARE_LOCATION
71+ mv "$(TARGET_DIR ) /lib/firmware/BCM4345C0.hcd" "$(TARGET_DIR ) /lib/firmware/brcm/"
72+ endef
73+ LINUX_FIRMWARE_POST_INSTALL_HOOKS += RPI64_FIXUP_FIRMWARE_LOCATION
74+
75+ endif
76+
6677$(eval $(ix-board))
6778$(eval $(generic-package))
Original file line number Diff line number Diff line change @@ -108,22 +108,6 @@ grep -qsE '^/bin/true$$' "$TARGET_DIR/etc/shells" \
108108grep -qsE ' ^/bin/false$$' " $TARGET_DIR /etc/shells" \
109109 || echo " /bin/false" >> " $TARGET_DIR /etc/shells"
110110
111- # Run board-specific post-build scripts for enabled boards
112- for script in " ${BR2_EXTERNAL_INFIX_PATH} /board/${BR2_ARCH} /" * /post-build.sh; do
113- board_name=$( basename " $( dirname " $script " ) " )
114-
115- # Convert to BR2_PACKAGE_* variable name
116- # e.g., raspberrypi-rpi64 -> BR2_PACKAGE_RASPBERRYPI_RPI64
117- # marvell-cn9130-crb -> BR2_PACKAGE_MARVELL_CN9130_CRB
118- var_name=" BR2_PACKAGE_$( echo " $board_name " | tr ' [:lower:]' ' [:upper:]' | tr ' -' ' _' ) "
119-
120- # Run the script only if the board package is enabled
121- if [ " ${! var_name} " = " y" ]; then
122- ixmsg " Calling $script "
123- " $script "
124- fi
125- done
126-
127111# Allow clish (symlink to /usr/bin/klish) to be a login shell
128112grep -qsE ' ^/bin/clish$$' " $TARGET_DIR /etc/shells" \
129113 || echo " /bin/clish" >> " $TARGET_DIR /etc/shells"
You can’t perform that action at this time.
0 commit comments