From ba673498c97b778479501d92ea901e7746c37f15 Mon Sep 17 00:00:00 2001 From: Roberto Nibali Date: Fri, 15 Jun 2012 12:08:15 +0200 Subject: Deal properly with scripts/bareboxenv-target The bareboxenv-target binary is automatically created but never deleted nor is it excluded from git tracking. This patch remedies the situation by adding scripts/bareboxenv-target to .gitignnore and adjusting the list of to be deleted files of the 'clean' target in the core Makefile. Signed-off-by: Roberto Nibali Signed-off-by: Sascha Hauer --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9294049204..3756eacefa 100644 --- a/Makefile +++ b/Makefile @@ -1003,6 +1003,7 @@ CLEAN_DIRS += $(MODVERDIR) CLEAN_FILES += barebox System.map include/generated/barebox_default_env.h \ .tmp_version .tmp_barebox* barebox.bin barebox.map barebox.S \ .tmp_kallsyms* barebox_default_env* barebox.ldr \ + scripts/bareboxenv-target \ Doxyfile.version barebox.srec barebox.s5p # Directories & files removed with 'make mrproper' -- cgit v1.2.3 From 5ecbd4a40fc0a320f59bf380aaa780f18b199f7b Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 25 Jun 2012 11:30:24 +0200 Subject: Makefile: echo size check error to stderr To be able to see it when in my build tests stdout goes to /dev/null Signed-off-by: Sascha Hauer --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3756eacefa..3a5c0ce086 100644 --- a/Makefile +++ b/Makefile @@ -540,7 +540,7 @@ quiet_cmd_check_file_size = CHKSIZE $@ max_size=`printf "%d" $2`; \ if [ $$size -gt $$max_size ] ; \ then \ - echo "$@ size $$size > of the maximum size $$max_size"; \ + echo "$@ size $$size > of the maximum size $$max_size" >&2; \ exit 1 ; \ fi; -- cgit v1.2.3