summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2021-01-06 23:37:47 -0800
committerPatrick Georgi <pgeorgi@google.com>2021-01-08 08:23:20 +0000
commit2136c5af5f46f8dc5645bafe8b1c8bcf9f46cd79 (patch)
tree9314144b1c0c64ffbc50c43a20e7b4fa749175c8 /src
parent4ead6b33671bba5f67f1cb0d6df5979b47e4ccc0 (diff)
downloadcoreboot-2136c5af5f46f8dc5645bafe8b1c8bcf9f46cd79.tar.xz
cpu/x86/smm: Use append instead of assign for smm-c-deps
This change uses append operation (+=) instead of assignment (:=) for smm-c-deps to ensure that any earlier assignment is not overwritten. Change-Id: Ic1d62b414cfe3f61ee2b80b026b7338faa186904 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49208 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/x86/smm/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/smm/Makefile.inc b/src/cpu/x86/smm/Makefile.inc
index eb386a69e5..1ed018d1be 100644
--- a/src/cpu/x86/smm/Makefile.inc
+++ b/src/cpu/x86/smm/Makefile.inc
@@ -17,7 +17,7 @@ endif
smmstub-generic-ccopts += -D__SMM__
smm-generic-ccopts += -D__SMM__
-smm-c-deps:=$$(OPTION_TABLE_H)
+smm-c-deps+=$$(OPTION_TABLE_H)
$(obj)/smm/smm.o: $$(smm-objs) $(COMPILER_RT_smm)
$(LD_smm) -nostdlib -r -o $@ $(COMPILER_RT_FLAGS_smm) --whole-archive --start-group $(filter-out %.ld, $(smm-objs)) --no-whole-archive $(COMPILER_RT_smm) --end-group