https://github.com/nxhack/openwrt-node-packages
https://github.com/nxhack/openwrt-node-packages/issues/15
./build-docker
Like opkg remove node
, opkg remove node-npm
and then opkg install node_v8.2.1.ipk
etc ... !!!!
./run
make -j9 menuconfig
If your target machine is MIPS and there is no hardware FPU, you need MIPS_FPU_EMULATOR checked (see if there is fpuemustats in the /sys/kernel/debug/mips directory).
make menuconfig
sed -i.bak 's#CONFIG_TARGET_INIT_PATH="#CONFIG_TARGET_INIT_PATH="/opt/router-scripts-openwrt:#g' .config
sed -i.bak 's#http://downloads.openwrt.org/releases/21.02.5 #http://cdn.corifeus.com/openwrt/21.02.5 #g' .config
sed -i.bak 's#http://downloads.openwrt.org/releases/21.02.5 #http://cdn.corifeus.com/openwrt/21.02.5 #g' package/base-files/image-config.in
sed -i.bak 's#default "/usr/sbin#default "/opt/router-scripts-openwrt:/usr/sbin#g' package/base-files/image-config.in
echo "CONFIG_VERSION_REPO=\"http://cdn.corifeus.com/openwrt/21.02.5\"" >> .config
cat package/base-files/image-config.in | grep default
cat .config | grep CONFIG_VERSION_REPO
cat .config | grep CONFIG_TARGET_INIT_PATH
# -jX is the number of threads of you CPU, I got 8
make -j9
# if error
make -j1 V=s