[PATCH 0/4] sandbox: prepare for static checkers

Holger Schurig holgerschurig at gmail.com
Thu Jun 26 01:49:13 PDT 2014


I want to use different compilers and static checkers (e.g. clang's
scan-build) on Barebox.  As a preparatory step I want to maximize code
coverage in an non-crosscompilation environment.

This patch set prepares the tree so that "make ARCH=sandbox allyesconfig"
followed by "make ARCH=sandbox" works and compiles warning free, at least
with Debian's gcc-4.6.

Holger Schurig (4):
  commands: include missing header
  sandbox: only access of_add_memory_bank if it's defined
  sandbox: add bit manipulation stuff
  sandbox: allow "make ARCH=sandbox allyesconfig"

 arch/sandbox/include/asm/bitops.h |    7 +++++++
 commands/linux_exec.c             |    1 +
 common/Kconfig                    |   21 +++++++++++++++++++++
 drivers/ata/Kconfig               |    1 +
 drivers/input/Kconfig             |    2 +-
 drivers/net/Kconfig               |    4 ++++
 drivers/of/base.c                 |    6 ++++++
 drivers/regulator/Kconfig         |    1 +
 drivers/usb/host/Kconfig          |    1 +
 drivers/video/imx-ipu-v3/Kconfig  |    1 +
 10 files changed, 44 insertions(+), 1 deletion(-)

-- 
1.7.10.4




More information about the barebox mailing list