Skip to content

Commit 9be6c5f

Browse files
committed
Merge patch series "kbuild: Update Makefile.extrawarn to 5.1"
This series from Ilias Apalodimas <ilias.apalodimas@linaro.org> largely finishes the re-sync with the Linux Kernel v5.1 kbuild system. Link: https://lore.kernel.org/r/20250627185723.342553-1-ilias.apalodimas@linaro.org
2 parents 7258240 + 5f52087 commit 9be6c5f

19 files changed

Lines changed: 922 additions & 467 deletions

File tree

Makefile

Lines changed: 546 additions & 312 deletions
Large diffs are not rendered by default.

board/congatec/common/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ endif
1616
endif
1717

1818
ifdef MINIMAL
19-
# necessary to create built-in.o
20-
obj- := __dummy__.o
19+
# necessary to create built-in.a
20+
obj- := __dummy__.a
2121
else
2222

2323
obj-y += mmc.o

board/cssi/cmpc885/u-boot.lds

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ SECTIONS
1818
{
1919
arch/powerpc/cpu/mpc8xx/start.o (.text)
2020
arch/powerpc/cpu/mpc8xx/traps.o (.text*)
21-
arch/powerpc/lib/built-in.o (.text*)
22-
drivers/net/built-in.o (.text*)
21+
arch/powerpc/lib/built-in.a (.text*)
22+
drivers/net/built-in.a (.text*)
2323

2424
. = DEFINED(env_offset) ? env_offset : .;
2525
env/embedded.o (.text.environment)

board/cssi/mcr3000/u-boot.lds

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ SECTIONS
1818
{
1919
arch/powerpc/cpu/mpc8xx/start.o (.text)
2020
arch/powerpc/cpu/mpc8xx/traps.o (.text*)
21-
arch/powerpc/lib/built-in.o (.text*)
22-
drivers/net/built-in.o (.text*)
21+
arch/powerpc/lib/built-in.a (.text*)
22+
drivers/net/built-in.a (.text*)
2323

2424
. = DEFINED(env_offset) ? env_offset : .;
2525
env/embedded.o (.text.environment)

board/freescale/common/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ endif
1414
endif
1515

1616
ifdef MINIMAL
17-
# necessary to create built-in.o
18-
obj- := __dummy__.o
17+
# necessary to create built-in.a
18+
obj- := __dummy__.a
1919
else
2020
# include i2c_common.o once if either VID or FSL_USE_PCA9547_MUX
2121
I2C_COMMON=

board/menlo/mx8menlo/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ endif
1616

1717
# Common for all Toradex modules
1818
ifeq ($(CONFIG_XPL_BUILD),y)
19-
# Necessary to create built-in.o
20-
obj- := __dummy__.o
19+
# Necessary to create built-in.a
20+
obj- := __dummy__.a
2121
else
2222
obj-$(CONFIG_TDX_CFG_BLOCK) += ../../toradex/common/tdx-cfg-block.o
2323
obj-y += ../../toradex/common/tdx-common.o

board/phytec/common/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Author: Teresa Remmet <t.remmet@phytec.de>
44

55
ifdef CONFIG_XPL_BUILD
6-
# necessary to create built-in.o
7-
obj- := __dummy__.o
6+
# necessary to create built-in.a
7+
obj- := __dummy__.a
88
endif
99

1010
obj-y += phytec_som_detection.o phytec_som_detection_blocks.o

board/samsung/origen/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Copyright (C) 2011 Samsung Electronics
44

55
ifdef CONFIG_XPL_BUILD
6-
# necessary to create built-in.o
7-
obj- := __dummy__.o
6+
# necessary to create built-in.a
7+
obj- := __dummy__.a
88

99
hostprogs-y := tools/mkorigenspl
1010
always := $(hostprogs-y)

board/samsung/smdkv310/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Copyright (C) 2011 Samsung Electronics
44

55
ifdef CONFIG_XPL_BUILD
6-
# necessary to create built-in.o
7-
obj- := __dummy__.o
6+
# necessary to create built-in.a
7+
obj- := __dummy__.a
88

99
hostprogs-y := tools/mksmdkv310spl
1010
always := $(hostprogs-y)

board/toradex/common/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
# Common for all Toradex modules
55
ifeq ($(CONFIG_XPL_BUILD),y)
6-
# Necessary to create built-in.o
7-
obj- := __dummy__.o
6+
# Necessary to create built-in.a
7+
obj- := __dummy__.a
88
else
99
obj-$(CONFIG_TDX_CFG_BLOCK) += tdx-cfg-block.o
1010
obj-y += tdx-common.o

0 commit comments

Comments
 (0)