mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/15] Makefile: sync with linux v4.13 and add thin archives support
@ 2018-11-29 11:30 Steffen Trumtrar
  2018-11-29 11:30 ` [PATCH 01/15] Makefile: replace LINUXINCLUDE with BAREBOXINCLUDE Steffen Trumtrar
                   ` (14 more replies)
  0 siblings, 15 replies; 23+ messages in thread
From: Steffen Trumtrar @ 2018-11-29 11:30 UTC (permalink / raw)
  To: Barebox List

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2018-12-09 23:07 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-29 11:30 [PATCH 00/15] Makefile: sync with linux v4.13 and add thin archives support Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 01/15] Makefile: replace LINUXINCLUDE with BAREBOXINCLUDE Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 02/15] Makefile: Correctly deal with make options which contain an "s" Steffen Trumtrar
2018-12-09 23:07   ` Roland Hieber
2018-11-29 11:30 ` [PATCH 03/15] scripts/Kbuild.include: Fix portability problem of "echo -e" Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 04/15] scripts/Kbuild.include: replace KBUILD_CPPFLAGS with CPPFLAGS Steffen Trumtrar
2018-12-05 12:22   ` Masahiro Yamada
2018-12-05 12:26     ` Masahiro Yamada
2018-12-06  7:54     ` Sascha Hauer
2018-11-29 11:30 ` [PATCH 05/15] debug: Add CONFIG_DEBUG_READABLE_ASM Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 06/15] Makefile: improve line wrapping Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 07/15] Makefile: link of barebox moved to script Steffen Trumtrar
2018-11-30  7:17   ` Sascha Hauer
2018-12-03  4:49   ` Sam Ravnborg
2018-12-04  7:56     ` Sascha Hauer
2018-11-29 11:30 ` [PATCH 08/15] scripts: link-barebox: fix bash-ism Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 09/15] scripts: link-barebox: force error on kallsyms failure Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 10/15] scripts: link-barebox: allow architectures to use thin archives instead of ld -r Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 11/15] scripts: link-barebox: kallsyms allow 3-pass generation Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 12/15] scripts: link-barebox: minor improvement for thin archives build Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 13/15] scripts: link-barebox: close thin archives --whole-archives option Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 14/15] scripts: link-barebox: thin archives use P option to ar Steffen Trumtrar
2018-11-29 11:30 ` [PATCH 15/15] ARM: Kconfig: select THIN_ARCHIVES for ARM Steffen Trumtrar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox