Step 4 : Compile OpenWrt source code

  • In this program, you are going to learn

  • How to ?

Topics in this section,

  • Go to the openwrt directory and run make to compile the source code.

$ cd $HOME/openwrt
$ make
  • Once the build is done the image will be present in the following directory.

$ cd $HOME/openwrt/bin/targets/bcm27xx/bcm2711
test:bcm2711$ ls -l
-rw-r--r-- 1 test test 16428303 Dec  7 20:42 openwrt-bcm27xx-bcm2711-rpi-4-ext4-factory.img.gz
-rw-r--r-- 1 test test 16429150 Dec  7 20:42 openwrt-bcm27xx-bcm2711-rpi-4-ext4-sysupgrade.img.gz
-rw-r--r-- 1 test test 14806933 Dec  7 20:42 openwrt-bcm27xx-bcm2711-rpi-4-squashfs-factory.img.gz
-rw-r--r-- 1 test test 14807780 Dec  7 20:42 openwrt-bcm27xx-bcm2711-rpi-4-squashfs-sysupgrade.img.gz