I want hack the openwrt Makefiles so that it generates only one image after a make world
(after make world
many images are generated in the bin
directory which slower the build), could any one give me hint to do that, i mean in which Makefile exactly i have to make my changes
EDIT
In the include directory i find a file image.mk
, here, there is a function called BuildImage
within this function i commented the instruction:
$(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))
which seems to me the one responsible on the generation of the images. Unfortunately all the images are generated after make world
, any explication why ?
First get the target board
Edit target makefile placed in below path
Then compile the build.