https://github.com/aarnaud/openwrt-build-script
OpenWRT build script
https://github.com/aarnaud/openwrt-build-script
Last synced: 5 months ago
JSON representation
OpenWRT build script
- Host: GitHub
- URL: https://github.com/aarnaud/openwrt-build-script
- Owner: aarnaud
- Created: 2016-07-04T22:09:16.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-07-08T18:07:05.000Z (11 months ago)
- Last Synced: 2025-07-08T19:25:27.141Z (11 months ago)
- Language: Shell
- Homepage:
- Size: 177 KB
- Stars: 4
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# OpenWRT build script
## Release builds
You can download [here](https://github.com/aarnaud/openwrt-build-script/releases)
## 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 (/.config), your toolchain and all other sources. Use with care!