The multi defconfigs build a lot of images, which is nice for coverage, but users may only be interested in the second stage barebox-dt-2nd.img for example. To allow them to build only that one without having to wade through menuconfig, let's allow specifying the image directly, e.g.: make images/barebox-dt-2nd.img And only that image will be built. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a86f1084cd5c..81a89d1c0ad4 100644 --- a/Makefile +++ b/Makefile @@ -789,7 +789,7 @@ barebox-flash-images: $(KBUILD_IMAGE) images: barebox.bin FORCE $(Q)$(MAKE) $(build)=images $@ -images/%.s: barebox.bin FORCE +images/%: barebox.bin FORCE $(Q)$(MAKE) $(build)=images $@ ifdef CONFIG_EFI_STUB -- 2.39.5