diff options
author | Martin Roth <gaumless@gmail.com> | 2023-08-24 16:57:17 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-26 21:13:50 +0000 |
commit | 8b703954c352329486d3610121ae41de896da565 (patch) | |
tree | 3f43e557e98a64ffe65a5f0dec5dd3013b65d243 /src/vendorcode/siemens/hwilib | |
parent | 81da643c135b6e8cff6a7181f8f7914105977ba0 (diff) |
vc/siemens: Only add the include path for hwlib when needed
This patch moves the line adding hwlib to the include path to the inner
makefile so that it doesn't get added to every build, but only when
CONFIG_USE_SIEMENS_HWILIB=y
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Id668b76366a554efff560cec746e637487ebdbf4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77417
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-by: Jan Samek <jan.samek@siemens.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/siemens/hwilib')
-rw-r--r-- | src/vendorcode/siemens/hwilib/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vendorcode/siemens/hwilib/Makefile.inc b/src/vendorcode/siemens/hwilib/Makefile.inc index 9a5d4be342..7b99c0c748 100644 --- a/src/vendorcode/siemens/hwilib/Makefile.inc +++ b/src/vendorcode/siemens/hwilib/Makefile.inc @@ -2,3 +2,5 @@ romstage-y += hwilib.c ramstage-y += hwilib.c + +CPPFLAGS_common += -I$(src)/vendorcode/siemens/hwilib |