Update vendorcode/intel/makefile for coming FSPs
Other FSPs have more than just the initial fsphob.c source file. Add any .c files in the srx directory to the ramstage build. Change-Id: I5118bdcca44935b579809c4fc9566ab7914a6e4b Signed-off-by: Martin Roth <martin.roth@se-eng.com> Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: http://review.coreboot.org/5454 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@google.com> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
eb4920df32
commit
18a40e0533
|
@ -1,7 +1,7 @@
|
|||
##
|
||||
## This file is part of the coreboot project.
|
||||
##
|
||||
## Copyright (C) 2013 Sage Electronic Engineering, LLC.
|
||||
## Copyright (C) 2013-2014 Sage Electronic Engineering, LLC.
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
|
@ -19,6 +19,9 @@
|
|||
|
||||
ifneq ($(CONFIG_FSP_VENDORCODE_HEADER_PATH),)
|
||||
FSP_PATH := $(call strip_quotes,$(CONFIG_FSP_VENDORCODE_HEADER_PATH))
|
||||
ramstage-y += $(FSP_PATH)srx/fsphob.c
|
||||
FSP_SRC_FILES := $(wildcard src/vendorcode/intel/$(FSP_PATH)srx/*.c)
|
||||
FSP_C_INPUTS := $(foreach file, $(FSP_SRC_FILES), $(FSP_PATH)srx/$(notdir $(file)))
|
||||
ramstage-y += $(FSP_C_INPUTS)
|
||||
|
||||
CC := $(CC) -Isrc/vendorcode/intel/$(FSP_PATH)include
|
||||
endif
|
Loading…
Reference in New Issue