"make menuconfig" just for the creation of a .config file for a tplink w8970
download of latest imagebuilder file ( lede-imagebuilder-lantiq-xrx200.Linux-x86_64.tar.xz for my router)
extract files from the archive and replace .config with the one i created in point 2 above.
compile a custom image with the command "make image PACKAGES="list of packages" "
now i have the firmware in the bin folder.
is this procedure right ?
also how can i add a custom package that is not listed in the official repository (simple-adblock) ? Can i download the package and pass a parameter in the "make image" command?
Image Building, you use precompiled packages and build your own image for specified target (router model) and its generate (usually) an .img file compatible with sysupgrade. (you could upload using FTP to some place, and later wget the file URL and sysupgrade using it.
Compile Image involves downloading using git clone and compile every package, this takes too long and is a very tedious step, It is just useful if you need to patch some source code file or change compilation flags for specific package.
You probably should go to Image Building procedure.
thanks for the answer: i just create the .config file from make menuconfig because i add support for usb storage and various filsystems readings. Can the image building take my custom .config file and "activate" the filesystems in the kernel, right?
also i dont know how can i add a custom package in the building process, how can i do it?
in case i want to use the full "make" command using the sources, how can i add, for example, the luci language packets (luci-i18...) directly in the "make" build process? is it possible to add precompiled packets?