coreboot-kgpe-d16/util/cbfstool
Sol Boucher 0e53931fee cbfstool: Clean up in preparation for adding new files
This enables more warnings on the cbfstool codebase and fixes the
issues that surface as a result. A memory leak that used to occur
when compressing files with lzma is also found and fixed.
Finally, there are several fixes for the Makefile:
 - Its autodependencies used to be broken because the target for
   the .dependencies file was misnamed; this meant that Make
   didn't know how to rebuild the file, and so would silently
   skip the step of updating it before including it.
 - The ability to build to a custom output directory by defining
   the obj variable had bitrotted.
 - The default value of the obj variable was causing implicit
   rules not to apply when specifying a file as a target without
   providing a custom value for obj.
 - Add a distclean target for removing the .dependencies file.

BUG=chromium:461875
TEST=Build an image with cbfstool both before and after.
BRANCH=None

Change-Id: I951919d63443f2b053c2e67c1ac9872abc0a43ca
Signed-off-by: Sol Boucher <solb@chromium.org>
Original-Commit-Id: 49293443b4e565ca48d284e9a66f80c9c213975d
Original-Change-Id: Ia7350c2c3306905984cfa711d5fc4631f0b43d5b
Original-Signed-off-by: Sol Boucher <solb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/257340
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-on: http://review.coreboot.org/9937
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-04-25 12:14:25 +02:00
..
lzma cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
EXAMPLE cbfstool: Update example file. 2013-02-04 11:12:15 +01:00
Makefile cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
Makefile.inc cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
cbfs-mkpayload.c cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
cbfs-mkstage.c cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
cbfs-payload-linux.c cbfstool:linux_trampoline: config CS and DS segment descriptors 2014-09-04 23:34:32 +02:00
cbfs.h cbfstool: add filetypes for FSP, MRC, SPC and MRC_CACHE 2015-03-30 21:45:11 +02:00
cbfs_image.c cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
cbfs_image.h cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
cbfstool.c cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
coff.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
common.c cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
common.h cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
compress.c cbfstool: Propogate compression errors back to the caller. 2014-09-25 20:26:04 +02:00
elf.h cbfstool: Add relocation codes for arm mode 2015-03-17 16:53:50 +01:00
elfheaders.c cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
elfparsing.h cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
fit.c cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
fit.h cbfstool: Add update-fit command 2013-03-27 01:25:12 +01:00
fv.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
linux.h cbfstool:linux_trampoline: config CS and DS segment descriptors 2014-09-04 23:34:32 +02:00
linux_trampoline.c cbfstool:linux_trampoline: config CS and DS segment descriptors 2014-09-04 23:34:32 +02:00
linux_trampoline.h cbfstool:linux_trampoline: config CS and DS segment descriptors 2014-09-04 23:34:32 +02:00
rmodtool.c util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
rmodule.c cbfstool: Clean up in preparation for adding new files 2015-04-25 12:14:25 +02:00
rmodule.h util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
swab.h Various fixes to cbfstool. 2011-10-24 20:29:29 +02:00
xdr.c cbfstool: add bputs() to store a byte stream to a buffer 2014-03-11 19:43:17 +01:00