Fabrice Fontaine has uploaded this change for review.

View Change

Makefile: CONFIG_INTERNAL depends on raw mem access

CONFIG_INTERNAL depends on raw mem access resulting in the following
build failure on sh4 since version 1.3.0:

/home/thomas/autobuild/instance-3/output-1/per-package/flashrom/host/bin/../lib/gcc/sh4a-buildroot-linux-gnu/12.3.0/../../../../sh4a-buildroot-linux-gnu/bin/ld: libflashrom.a(internal.o): in function `internal_chip_readn':
internal.c:(.text+0x8): undefined reference to `mmio_readn'

Fixes:
- http://autobuild.buildroot.org/results/f74a9d315fb519f284428234713f43fcf4e35fd0

Change-Id: I7610f5f7cc5b114ffa90d5752155acc8b6b7c9f7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
M Makefile
1 file changed, 1 insertion(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/30/78930/1
diff --git a/Makefile b/Makefile
index bf01d0f..cd21f22 100644
--- a/Makefile
+++ b/Makefile
@@ -115,6 +115,7 @@
CONFIG_ATAPROMISE \
CONFIG_DRKAISER \
CONFIG_GFXNVIDIA \
+ CONFIG_INTERNAL \
CONFIG_INTERNAL_X86 \
CONFIG_IT8212 \
CONFIG_NICINTEL \

To view, visit change 78930. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I7610f5f7cc5b114ffa90d5752155acc8b6b7c9f7
Gerrit-Change-Number: 78930
Gerrit-PatchSet: 1
Gerrit-Owner: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Gerrit-MessageType: newchange