[SLOF] [PATCH v2 0/4] Clean-ups and fixes for the build_romfs tool

Thomas Huth thuth at redhat.com
Thu Jul 19 22:46:23 AEST 2018


With GCC 8.1, I get some compiler warnings when compiling create_crc.c.
Let's clean up the related code a little bit. And while we're at it,
also make sure to always set a proper DRIVER_NAME environment variable
when building SLOF.

v2:
 - remove assert() and FLASHFS_HEADER_DATA_SIZE

Thomas Huth (4):
  romfs/tools: Remove superfluous union around the rom header struct
  romfs/tools: Silence GCC 8.1 compiler warning with FLASHFS_MAGIC
  romfs/tools: Silence more compiler warnings with GCC 8.1
  Makefile: Set a proper DRIVER_NAME when building from a git tree

 Makefile.gen             |  1 +
 include/calculatecrc.h   |  1 -
 romfs/tools/create_crc.c | 48 +++++++++++++++++++-----------------------------
 3 files changed, 20 insertions(+), 30 deletions(-)

-- 
1.8.3.1



More information about the SLOF mailing list