Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fac6dfb

Browse files
author
seblec
committedJan 8, 2025
feat(config): add Raspberry Pi 4 architecture config and additional packages
- Added arch_rpi4 configuration under config. - Modified rules.mk to fix file copy behavior errors by adjusting cp flags. - Included optional packages: liblzma, libnetsnmp, and libpam to avoid a build dependency which did not exist.
1 parent 3d92c61 commit fac6dfb

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed
 

‎build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ cp .config.keep .config
108108
echo "$OTB_PKGS_I18N" >> .config
109109

110110
make defconfig
111+
sed -i 's/CP:=cp -fpR/CP:=cp -fR/g' ./openwrt/rules.mk
111112
if ! make "$@"; then
112113
make "$@" -j1 V=s 2>&1 | tee error.log
113114
exit 1

‎config/arch_rpi4

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CONFIG_TARGET_bcm27xx=y
2+
CONFIG_TARGET_bcm27xx_bcm2711=y
3+
CONFIG_TARGET_bcm27xx_bcm2711_DEVICE_rpi-4=y
4+
CONFIG_EXPERIMENTAL=y
5+
CONFIG_BCMGENET=y
6+
CONFIG_MDIO_BCM_UNIMAC=y

‎config/package_optionnal

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ collectd-mod-uptime
3737
collectd-mod-write-graphite
3838
collectd-mod-write-http
3939
kmod-pcengines-apuv2
40+
liblzma
41+
libnetsnmp
42+
libpam
4043
prometheus-node-exporter-lua
4144
prometheus-node-exporter-lua-nat_traffic
4245
prometheus-node-exporter-lua-netstat

0 commit comments

Comments
 (0)
Please sign in to comment.