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>
This commit is contained in:
parent
4ead6b3367
commit
2136c5af5f
|
@ -17,7 +17,7 @@ endif
|
||||||
|
|
||||||
smmstub-generic-ccopts += -D__SMM__
|
smmstub-generic-ccopts += -D__SMM__
|
||||||
smm-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)
|
$(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
|
$(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
|
||||||
|
|
Loading…
Reference in New Issue