From 438dcfdb76de66683b5eda23dee69cdf4465caf9 Mon Sep 17 00:00:00 2001 From: Wadim Egorov Date: Thu, 25 Jun 2015 10:18:28 +0200 Subject: images: Add file size check for PBLX files Signed-off-by: Wadim Egorov Signed-off-by: Sascha Hauer --- images/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'images/Makefile') diff --git a/images/Makefile b/images/Makefile index 587cb2651f..6ee1dccac0 100644 --- a/images/Makefile +++ b/images/Makefile @@ -75,6 +75,8 @@ quiet_cmd_pblx ?= PBLX $@ $(obj)/%.pblx: $(obj)/%.pblb $(obj)/barebox.z FORCE $(call if_changed,pblx,$(@F)) + $(call cmd,check_file_size,$@,$(CONFIG_BAREBOX_MAX_PBLX_SIZE)) + $(obj)/%.s: $(obj)/% FORCE $(call if_changed,disasm) -- cgit v1.2.3