9
0
Fork 0
barebox/scripts
Sascha Hauer b1ae1bd243 Make: Fix if_changed when command contains backslashes
The call if_changed mechanism does not work when the command
contains backslashes. This basically is an issue with lzo
and bzip2 compressed kernels. The compressed binaries do not
contain the uncompressed image size, so these use size_append
to append the size. This results in backslashes in the executed
command. With this if_changed always detects a change in the
command and rebuilds the compressed image even if nothing
has changed.

Fix this by escaping backslashes in make-cmd

This was worked out together with Jan Lübbe. The same patch
has recently been accepted to the kernel.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
2012-09-16 22:10:22 +02:00
..
basic Fix error handling with malloc, memalign etc. Introduce xmemalign(). 2011-01-07 10:21:22 +01:00
kconfig kconfig: sync to linux 3.2-rc4 2012-01-11 21:22:34 +08:00
mod kbuild: Use Elfnn_Half as replacement for Elfnn_Section 2012-06-05 21:40:15 +02:00
setupmbr Add setupmbr to gitignore 2011-11-11 12:28:35 +01:00
.gitignore scripts/mkublheader: add program to produce an UBL image header 2012-07-04 09:13:23 +02:00
Kbuild.include Make: Fix if_changed when command contains backslashes 2012-09-16 22:10:22 +02:00
Makefile scripts/mkublheader: add program to produce an UBL image header 2012-07-04 09:13:23 +02:00
Makefile.build kbuild: allow to have custom cppflags for pbl 2012-08-03 18:09:15 +08:00
Makefile.clean Makefile.clean: include Makefiles again 2012-08-03 17:17:03 +08:00
Makefile.host svn_rev_008 2007-07-05 18:01:13 +02:00
Makefile.lib Makefile.lib: add disasm and ln commands 2012-08-12 14:34:28 +02:00
Makefile.modpost rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
bareboxenv.c recursive_action: add ACTION_FOLLOWLINKS support 2012-09-05 03:22:14 +08:00
bin2c.c svn_rev_429 2007-07-05 18:01:53 +02:00
checkpatch.pl scripts/checkpatch.pl: reset rpt_cleaners warnings 2012-07-25 08:34:59 +02:00
compiler.h scripts/compiler.h: fixup endianess defines on OS X 2012-06-05 21:40:15 +02:00
doxy_filter.awk doc: add macros to unify command help with doxygen 2010-11-01 16:23:08 +01:00
gen_netx_image.c netX: add more common permissions 2012-04-23 07:52:46 +02:00
genenv scripts/genenv: always pass template to mktemp 2012-06-05 21:40:15 +02:00
kallsyms.c scripts: Fix compilation warning. 2011-05-04 08:41:46 +02:00
mkcompile_h Makefile: fix build timestamps 2012-04-15 15:18:17 +02:00
mkimage.c move code now only used in mkimage to mkimage 2011-12-15 11:07:15 +01:00
mkmakefile Add scripts/mkmakefile from Linux. This is necessary if you want to 2007-11-09 11:47:07 +01:00
mksysmap rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
mkublheader.c scripts/mkublheader: add program to produce an UBL image header 2012-07-04 09:13:23 +02:00
netconsole add netconsole host script 2010-06-24 17:37:00 +02:00
omap_signGP.c ARM omap: Add omap signGP tool and possibility to build ift images 2011-04-12 09:54:56 +02:00
s5p_cksum.c S5P boot header and image generator 2012-05-21 21:58:26 +02:00
setlocalversion Build system: Use setlocalversion from kernel 2008-09-02 15:48:06 +02:00