public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/3] kbuild: always use relative path for __FILE__
@ 2017-10-13  9:51 Masahiro Yamada
  2017-10-13  9:51 ` [U-Boot] [PATCH v2 1/3] kbuild: Get rid of KBUILD_STR Masahiro Yamada
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Masahiro Yamada @ 2017-10-13  9:51 UTC (permalink / raw)
  To: u-boot


We discussed the __FILE__ problem when U-Boot is built out of tree.
https://www.mail-archive.com/u-boot at lists.denx.de/msg242852.html

The deeper your build directory is located, the larger
your U-Boot image becomes.
If your platform has memory footprint limit, this is a problem.

Recently, I submitted the following patches to Kbuild ML.
(no RFC, this time)
https://patchwork.kernel.org/patch/10001419/
https://patchwork.kernel.org/patch/10001409/

I consider them for Linux 4.15 unless there is
a strong objection or a problem report.

This series is a port for U-Boot.

If Tom wants to pick this up earlier, it is OK.
If not in hurry, you can wait for the activity in Linux.
Either will do.


Changes in v2:
  - Rephrase comments for clarification
  - Fix a typo

Masahiro Yamada (2):
  kbuild: add stringify helper to quote a string passed to C files
  kbuild: redefine __FILE__ as relative path from $(srctree) if possible

Michal Marek (1):
  kbuild: Get rid of KBUILD_STR

 Makefile               | 9 +++++++++
 scripts/Kbuild.include | 4 ++++
 scripts/Makefile.lib   | 8 ++++----
 3 files changed, 17 insertions(+), 4 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-10-15  9:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-13  9:51 [U-Boot] [PATCH v2 0/3] kbuild: always use relative path for __FILE__ Masahiro Yamada
2017-10-13  9:51 ` [U-Boot] [PATCH v2 1/3] kbuild: Get rid of KBUILD_STR Masahiro Yamada
2017-10-13  9:51 ` [U-Boot] [PATCH v2 2/3] kbuild: add stringify helper to quote a string passed to C files Masahiro Yamada
2017-10-13  9:51 ` [U-Boot] [PATCH v2 3/3] kbuild: redefine __FILE__ as relative path from $(srctree) if possible Masahiro Yamada
2017-10-13 12:11 ` [U-Boot] [PATCH v2 0/3] kbuild: always use relative path for __FILE__ Tom Rini
2017-10-13 12:21   ` Masahiro Yamada
2017-10-13 13:53     ` Tom Rini
2017-10-13 17:37       ` Masahiro Yamada
2017-10-13 18:35       ` Masahiro Yamada
2017-10-13 21:39         ` Tom Rini
2017-10-15  9:48           ` Masahiro Yamada

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