[PATCH 00/15] Makefile: sync with linux v4.13 and add thin archives support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

This series synchronizes parts of the Makefile with Linux v4.13 and adds
scripts/link-barebox.sh. Finally support for thin archives is added.

This support is mainly needed for socfpga-xload, because now all unneeded
objects are discarded and the xloader files do not blow up in size once
multiple boards are selected at the same time.
As is also speeds up the build time a little bit and shouldn't break
anything (hopefully), it is selected for all ARM platforms.

Compile tested for socfpga(-xload)_defconfig and imx_v7_defconfig
Tested on the socrates board.

Please test if this breaks anything for your hardware or not.

Steffen Trumtrar (15):
  Makefile: replace LINUXINCLUDE with BAREBOXINCLUDE
  Makefile: Correctly deal with make options which contain an "s"
  scripts/Kbuild.include: Fix portability problem of "echo -e"
  scripts/Kbuild.include: replace KBUILD_CPPFLAGS with CPPFLAGS
  debug: Add CONFIG_DEBUG_READABLE_ASM
  Makefile: improve line wrapping
  Makefile: link of barebox moved to script
  scripts: link-barebox: fix bash-ism
  scripts: link-barebox: force error on kallsyms failure
  scripts: link-barebox: allow architectures to use thin archives
    instead of ld -r
  scripts: link-barebox: kallsyms allow 3-pass generation
  scripts: link-barebox: minor improvement for thin archives build
  scripts: link-barebox: close thin archives --whole-archives option
  scripts: link-barebox: thin archives use P option to ar
  ARM: Kconfig: select THIN_ARCHIVES for ARM

 Makefile                | 221 +++++++---------------------------
 arch/arm/Kconfig        |   1 +
 common/Kconfig          |  14 +++
 scripts/Kbuild.include  |   8 +-
 scripts/Makefile.build  |  30 ++++-
 scripts/link-barebox.sh | 259 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 345 insertions(+), 188 deletions(-)
 create mode 100755 scripts/link-barebox.sh

-- 
2.19.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux