scripts: Makefile.lib: fix build for non-PBL DT-enabled boards CONFIG_IMAGE_COMPRESSION_NONE is unset for non-PBL builds, leading to a build failure for non-PBL boards that reference device trees. Fix this by having comp_copy as default. Reported-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- scripts/Makefile.lib | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index a648835b1bfb..9295f22e9fef 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -275,6 +275,7 @@ cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@ # Decompressor for barebox proper binary when using PBL # --------------------------------------------------------------------------- +suffix_y = comp_copy suffix_$(CONFIG_IMAGE_COMPRESSION_GZIP) = gzip suffix_$(CONFIG_IMAGE_COMPRESSION_LZO) = lzo suffix_$(CONFIG_IMAGE_COMPRESSION_LZ4) = lz4 -- 2.30.2