2022-12-16 16:47:27 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
git clone https://git.openwrt.org/openwrt/openwrt.git
|
|
|
|
|
|
|
|
cd openwrt
|
2022-12-17 07:15:23 +01:00
|
|
|
git checkout tags/20.03.2
|
|
|
|
|
2022-12-16 16:47:27 +01:00
|
|
|
./scripts/feeds update -a
|
|
|
|
./scripts/feeds install -a
|
|
|
|
|
2022-12-17 07:15:23 +01:00
|
|
|
#wget https://downloads.openwrt.org/releases/22.03.2/targets/bcm27xx/bcm2711/config.buildinfo -O .config
|
|
|
|
cp ../config.buildinfo .config
|
2022-12-16 16:47:27 +01:00
|
|
|
make defconfig
|
2022-12-17 01:20:00 +01:00
|
|
|
make -j $(nproc)
|
2022-12-16 16:57:02 +01:00
|
|
|
|
|
|
|
find ~ -type d -name bin
|
|
|
|
find bin
|
2022-12-16 16:47:27 +01:00
|
|
|
|
|
|
|
# check RTC
|
|
|
|
|
|
|
|
# kmod-rtc-ds1307
|