On Mon, Nov 19, 2012 at 04:37:38PM +0400, Antony Pavlov wrote: > >> The files decompress_inflate.c and decompress_unlzo.c are in the same > >> directory. Why we use different prefixes to address them? > > > > I understand the patch and why it's correct. I just wondered why it > > works correctly without this patch. > > > > ls arch/arm/cpu/../../../../lib/decompress_inflate.c > > ls: cannot access arch/arm/cpu/../../../../lib/decompress_inflate.c: No such file or directory > > > > This is correct, we only have to go three directories up. Still it > > compiles fine. > > IMHO we use very many '-I' options when running C compiler. Some of > them make possible to include the decompres-related files with the > '../../../../' prefix, > the other ones make possible to use '../../../'. I wasn't aware that files included with "" also evaluate the -i options. Applied, thanks. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox