mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] kbuild: drop support for cc-ldoption
@ 2019-05-24  7:24 Masahiro Yamada
  2019-05-28  8:12 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2019-05-24  7:24 UTC (permalink / raw)
  To: barebox

Barebox is not using this macro.

Linux commit 055efab3120bae7ab1ed841317774f3c953f6e1b killed this
macro, so let's remove it from barebox too.

I see another cc-ldoption in dts/scripts/Kbuild.include, but did not
touch it. In my understanding, the dts/ directory is synced with the
upstream devicetree-rebasing project [1].

[1] git://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 scripts/Kbuild.include | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 5fa7f16e1..5e7255db3 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -129,11 +129,6 @@ cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
 # Usage:  EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
 cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3))
 
-# cc-ldoption
-# Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both)
-cc-ldoption = $(call try-run,\
-	$(CC) $(1) -nostdlib -xc /dev/null -o "$$TMP",$(1),$(2))
-
 # ld-option
 # Usage: LDFLAGS += $(call ld-option, -X)
 ld-option = $(call try-run,\
-- 
2.17.1


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

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

* Re: [PATCH] kbuild: drop support for cc-ldoption
  2019-05-24  7:24 [PATCH] kbuild: drop support for cc-ldoption Masahiro Yamada
@ 2019-05-28  8:12 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-05-28  8:12 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: barebox

On Fri, May 24, 2019 at 04:24:48PM +0900, Masahiro Yamada wrote:
> Barebox is not using this macro.
> 
> Linux commit 055efab3120bae7ab1ed841317774f3c953f6e1b killed this
> macro, so let's remove it from barebox too.
> 
> I see another cc-ldoption in dts/scripts/Kbuild.include, but did not
> touch it. In my understanding, the dts/ directory is synced with the
> upstream devicetree-rebasing project [1].
> 
> [1] git://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

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

end of thread, other threads:[~2019-05-28  8:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-24  7:24 [PATCH] kbuild: drop support for cc-ldoption Masahiro Yamada
2019-05-28  8:12 ` Sascha Hauer

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