Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42572 )
Change subject: [TEST] arch/x86: fail on selected GENERATE_MP_TABLE without mptable.c ......................................................................
[TEST] arch/x86: fail on selected GENERATE_MP_TABLE without mptable.c
Always add mptable.c to ramstage if GENERATE_MP_TABLE is selected in Kconfig.
This is a test to see which boards fail. If some fail, I'll fix those and rebase this patch on top of the fix.
Change-Id: I8d19a6db09881989d7b1e0249f44eb7e9c3f1df6 Signed-off-by: Felix Held felix-coreboot@felixheld.de --- M src/arch/x86/Makefile.inc 1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/42572/1
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index 6297384..1674b76 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -281,10 +281,8 @@
ramstage-srcs += $(wildcard src/mainboard/$(MAINBOARDDIR)/mainboard.c) ifeq ($(CONFIG_GENERATE_MP_TABLE),y) -ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/mptable.c),) ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/mptable.c endif -endif ifeq ($(CONFIG_GENERATE_PIRQ_TABLE),y) ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/irq_tables.c endif
Hello build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42572
to look at the new patch set (#2).
Change subject: arch/x86: always add mptable.c if GENERATE_MP_TABLE is selected ......................................................................
arch/x86: always add mptable.c if GENERATE_MP_TABLE is selected
This make the build fail if a board selects GENERATE_MP_TABLE, but doesn't have a mptable.c.
Change-Id: I8d19a6db09881989d7b1e0249f44eb7e9c3f1df6 Signed-off-by: Felix Held felix-coreboot@felixheld.de --- M src/arch/x86/Makefile.inc 1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/42572/2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42572 )
Change subject: arch/x86: always add mptable.c if GENERATE_MP_TABLE is selected ......................................................................
Patch Set 2: Code-Review+1
(2 comments)
https://review.coreboot.org/c/coreboot/+/42572/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/42572/2//COMMIT_MSG@9 PS2, Line 9: make makes
https://review.coreboot.org/c/coreboot/+/42572/2/src/arch/x86/Makefile.inc File src/arch/x86/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/42572/2/src/arch/x86/Makefile.inc@2... PS2, Line 284: ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/mptable.c How about having boards specify where the mptable.c file is? It would work well with variants stuff
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42572 )
Change subject: arch/x86: always add mptable.c if GENERATE_MP_TABLE is selected ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42572/2/src/arch/x86/Makefile.inc File src/arch/x86/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/42572/2/src/arch/x86/Makefile.inc@2... PS2, Line 284: ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/mptable.c
How about having boards specify where the mptable. […]
that's probably the way to go there and would allow to fix the 2 variants of that one asus board. might look into that on the weekend
Hello build bot (Jenkins), Patrick Georgi, Martin Roth, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42572
to look at the new patch set (#3).
Change subject: arch/x86: always add mptable.c if GENERATE_MP_TABLE is selected ......................................................................
arch/x86: always add mptable.c if GENERATE_MP_TABLE is selected
This make the build fail if a board selects GENERATE_MP_TABLE, but doesn't have a mptable.c.
Change-Id: I8d19a6db09881989d7b1e0249f44eb7e9c3f1df6 Signed-off-by: Felix Held felix-coreboot@felixheld.de --- M src/arch/x86/Makefile.inc 1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/42572/3
Hello build bot (Jenkins), Patrick Georgi, Martin Roth, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42572
to look at the new patch set (#4).
Change subject: arch/x86: always add mptable.c if GENERATE_MP_TABLE is selected ......................................................................
arch/x86: always add mptable.c if GENERATE_MP_TABLE is selected
This make the build fail if a board selects GENERATE_MP_TABLE, but doesn't have a mptable.c.
Change-Id: I8d19a6db09881989d7b1e0249f44eb7e9c3f1df6 Signed-off-by: Felix Held felix-coreboot@felixheld.de --- M src/arch/x86/Makefile.inc 1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/42572/4
Felix Held has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/42572 )
Change subject: arch/x86: always add mptable.c if GENERATE_MP_TABLE is selected ......................................................................
Abandoned
turns out that this was intended behaviour