Skip to content

aarnaud/openwrt-build-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

24caec2 · Dec 31, 2024
Mar 28, 2024
Nov 28, 2023
Dec 31, 2024
Jul 12, 2016
Dec 31, 2024
Dec 22, 2021
Jul 12, 2016
Nov 28, 2023
Dec 29, 2022
Mar 28, 2024

Repository files navigation

OpenWRT build script

Release builds

You can download here

Build script

./scripts/build.sh sunxi_Lamobo_R1

Build manually

cd openwrt
make menuconfig
make defconfig
make V=s

Write your SD card

gzip -k -d openwrt/bin/sunxi/openwrt-sunxi-Lamobo_R1-sdcard-vfat-ext4.img.gz
dd if=openwrt/bin/sunxi/openwrt-sunxi-Lamobo_R1-sdcard-vfat-ext4.img of=/dev/YOURSDCARD

Cleaning Up (in openwrt directory)

Clean

make clean

deletes contents of the directories /bin and /build_dir. make clean does not remove the toolchain, it also avoids cleaning architectures/targets other than the one you have selected in your .config

Dirclean

make dirclean

deletes contents of the directories /bin and /build_dir and additionally /staging_dir and /toolchain (=the cross-compile tools) and /logs. 'Dirclean' is your basic "Full clean" operation.

Distclean

make distclean

nukes everything you have compiled or configured and also deletes all downloaded feeds contents and package sources.

CAUTION : In addition to all else, this will erase your build configuration (<buildroot_dir>/.config), your toolchain and all other sources. Use with care!