[U-Boot] [PATCH v2 0/8] add clang support for some ARM boards

Jeroen Hofstee jeroen at myspectrum.nl
Wed Jul 30 21:54:48 CEST 2014


Changes since v1 (RFC):
  - Update the commit message for -Werror when polling for cc-options.
    As pointed out by Masahiro this is not needed for all arguments,
    but only for warning options.
  - drop SOC specific patch from this patchset, I will post it seperately.
  - Do implement get_gd for AARCH64.
  - Drop the memset patch for clearing gd / not reassinging gd and use
    Simon his version.
  - Drop the patch for using gnu inline version, since targets using the
    generic board no longer need it.
  - Limit update gd in board_init_r to ARM / ARM64, since powerpc does
    need it.
  - change __inline to inline and drop volatile from get_gd to make
    checkpatch happy.
  - add patch workaround for generated constants
  - add patch default to cc for host compiler
  - update README.clang
  - add SOB / cc

This patchset depends on:
http://patchwork.ozlabs.org/patch/368944/ (pending dm pull)
http://patchwork.ozlabs.org/patch/362580/

Jeroen Hofstee (8):
  board_r: ARM[64] do not set gd again
  ARM: SPL: do not set gd again
  cc-option: also detect unsupported warnings options
  ARM: make gd a function for clang
  eabi_compat: add __aeabi_memcpy __aeabi_memset
  clang: workaround for generated constants
  Makefile: default to cc for host compiler
  README.clang: build command with clang

 Kbuild                             |  3 +-
 Makefile                           |  2 +-
 arch/arm/include/asm/global_data.h | 25 +++++++++++++++++
 arch/arm/lib/eabi_compat.c         | 15 ++++++++--
 arch/arm/lib/spl.c                 |  3 --
 common/board_r.c                   |  2 +-
 doc/README.clang                   | 56 ++++++++++++++++++++++++++++++++++++++
 include/linux/kbuild.h             |  6 ++--
 scripts/Kbuild.include             |  4 +--
 9 files changed, 103 insertions(+), 13 deletions(-)
 create mode 100644 doc/README.clang

-- 
1.9.1



More information about the U-Boot mailing list