You need to git clone the branch I linked and then you can easily build that.
Yes, you simply select the packages you want in menuconfig, well if you want to install a package that depends on kernel module or other specific package version then you need to compile a image with those versions or compile those packages separately.
No, you need to select the RB450Gx4 profile in IPQ40xx
Like I said, you need to clone the branch I linked to you in the first reply.
So git clone -b RB450Gx4-rebase-sdhci --single-branch https://github.com/robimarko/openwrt.git
new error, I'm guessing my build environment isn't right? any idea how to troubleshoot? verbose mode is quite confusing...
make -r world: build failed. Please re-run make with -J1 V=s or V=sc for higher verbosity level to see what's going on
make: *** [/home/pi/openwrt/include/toplevel.mk:218: world] Error 1
This is at line 218: cp .config tmp/.config; \
So far I've done this on 3 different Debian systems with the following dependencies installed and each one has the same error:
sudo apt install build-essential libncurses5-dev gawk git libssl-dev gettext zlib1g-dev swig unzip time file
On which package do you get that?
It could easely have been already fixed in current OpenWrt master, but I have not tested building on Debian as I use Fedora for all of my builds.
Well that is part of mkimage and as far as I remember uses parts of U-boot for it so its most likely bug with version used and Debian 9 combo.
I really cant help you here
Trying to compile with packages and ran into this, does it make any sense? A simple google yields nothing for rpcd-mod-luci...
[ 50%] Building C object CMakeFiles/rpcd-mod-luci.dir/luci.c.o
/home/pi/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/rpcd-mod-luci-20191114/luci.c: In function 'rpc_luci_get_iwinfo':
/home/pi/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/rpcd-mod-luci-20191114/luci.c:924:31: error: 'IWINFO_KMGMT_SAE' undeclared (first use in this function); did you mean 'IWINFO_KMGMT_NAMES'?
if (crypto.auth_suites & IWINFO_KMGMT_SAE)
^~~~~~~~~~~~~~~~
IWINFO_KMGMT_NAMES
/home/pi/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/rpcd-mod-luci-20191114/luci.c:924:31: note: each undeclared identifier is reported only once for each function it appears in
/home/pi/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/rpcd-mod-luci-20191114/luci.c:927:31: error: 'IWINFO_KMGMT_OWE' undeclared (first use in this function); did you mean 'IWINFO_KMGMT_SAE'?
if (crypto.auth_suites & IWINFO_KMGMT_OWE)
^~~~~~~~~~~~~~~~
IWINFO_KMGMT_SAE
make[6]: *** [CMakeFiles/rpcd-mod-luci.dir/build.make:63: CMakeFiles/rpcd-mod-luci.dir/luci.c.o] Error 1
make[6]: Leaving directory '/home/pi/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/rpcd-mod-luci-20191114'
make[5]: *** [CMakeFiles/Makefile2:73: CMakeFiles/rpcd-mod-luci.dir/all] Error 2
make[5]: Leaving directory '/home/pi/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/rpcd-mod-luci-20191114'
make[4]: *** [Makefile:130: all] Error 2
make[4]: Leaving directory '/home/pi/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/rpcd-mod-luci-20191114'
make[3]: *** [Makefile:58: /home/pi/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/rpcd-mod-luci-20191114/.built] Error 2
make[3]: Leaving directory '/home/pi/openwrt/feeds/luci/libs/rpcd-mod-luci'
time: package/feeds/luci/rpcd-mod-luci/compile#0.39#0.17#0.54
make[2]: *** [package/Makefile:109: package/feeds/luci/rpcd-mod-luci/compile] Error 2
make[2]: Leaving directory '/home/pi/openwrt'
make[1]: *** [package/Makefile:103: /home/pi/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/pi/openwrt'
make: *** [/home/pi/openwrt/include/toplevel.mk:218: world] Error 2