mbox series

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

Message ID 1532004387-3123-1-git-send-email-thuth@redhat.com
Headers show
Series Clean-ups and fixes for the build_romfs tool | expand

Message

Thomas Huth July 19, 2018, 12:46 p.m. UTC
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(-)