vc/amd/pi: Fix "No such file or directory"
Fix: cc1: error: src/vendorcode/amd/pi/00670F00: No such file or directory [-Werror=missing-include-dirs] cc1: error: src/vendorcode/amd/pi/00670F00/binaryPI: No such file or directory [-Werror=missing-include-dirs] cc1: error: src/vendorcode/amd/pi/00670F00/Include: No such file or directory [-Werror=missing-include-dirs] cc1: error: src/vendorcode/amd/pi/00670F00/Proc: No such file or directory [-Werror=missing-include-dirs] cc1: error: src/vendorcode/amd/pi/00670F00/Proc/Common: No such file or directory [-Werror=missing-include-dirs] cc1: error: src/vendorcode/amd/pi/00670F00/Proc/CPU: No such file or directory [-Werror=missing-include-dirs] cc1: error: src/vendorcode/amd/pi/00670F00/Proc/CPU/Family: No such file or directory [-Werror=missing-include-dirs] cc1: error: src/vendorcode/amd/pi/00670F00/Proc/Fch: No such file or directory [-Werror=missing-include-dirs] cc1: error: src/vendorcode/amd/pi/00670F00/Proc/Fch/Common: No such file or directory [-Werror=missing-include-dirs] Change-Id: I745f4fc421c91c413fe0d3155d3494ed9704eeb6 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71855 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
parent
4bd2325802
commit
ced8fe0cb6
|
@ -25,30 +25,6 @@
|
||||||
#*****************************************************************************
|
#*****************************************************************************
|
||||||
|
|
||||||
ifeq ($(CONFIG_SOC_AMD_STONEYRIDGE),y)
|
ifeq ($(CONFIG_SOC_AMD_STONEYRIDGE),y)
|
||||||
# AGESA V5 Files
|
|
||||||
|
|
||||||
AGESA_ROOT = $(call strip_quotes,$(CONFIG_AGESA_BINARY_PI_VENDORCODE_PATH))
|
|
||||||
|
|
||||||
BINARY_PI_INC = -I$(AGESA_ROOT)
|
|
||||||
BINARY_PI_INC += -I$(AGESA_ROOT)/binaryPI
|
|
||||||
BINARY_PI_INC += -I$(AGESA_ROOT)/Include
|
|
||||||
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc
|
|
||||||
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/Common
|
|
||||||
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/CPU
|
|
||||||
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/CPU/Family
|
|
||||||
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/Fch
|
|
||||||
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/Fch/Common
|
|
||||||
|
|
||||||
AGESA_INC = -I$(obj)
|
|
||||||
AGESA_INC += $(BINARY_PI_INC)
|
|
||||||
|
|
||||||
AGESA_INC += -I$(src)/soc/amd/stoneyridge/include
|
|
||||||
AGESA_INC += -I$(src)/soc/amd/common/block/include
|
|
||||||
|
|
||||||
AGESA_INC += -I$(src)/arch/x86/include
|
|
||||||
AGESA_INC += -I$(src)/include
|
|
||||||
AGESA_INC += -I$(src)/commonlib/include
|
|
||||||
AGESA_INC += -I$(VBOOT_SOURCE)/firmware/include
|
|
||||||
|
|
||||||
AGESA_CFLAGS += -march=amdfam10 -fno-strict-aliasing -D__LIBAGESA__
|
AGESA_CFLAGS += -march=amdfam10 -fno-strict-aliasing -D__LIBAGESA__
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,33 @@
|
||||||
|
|
||||||
subdirs-y += 00670F00
|
subdirs-y += 00670F00
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_SOC_AMD_STONEYRIDGE),y)
|
||||||
|
# AGESA V5 Files
|
||||||
|
|
||||||
|
AGESA_ROOT = $(top)/$(call strip_quotes,$(CONFIG_AGESA_BINARY_PI_VENDORCODE_PATH))
|
||||||
|
|
||||||
|
BINARY_PI_INC = -I$(AGESA_ROOT)
|
||||||
|
BINARY_PI_INC += -I$(AGESA_ROOT)/binaryPI
|
||||||
|
BINARY_PI_INC += -I$(AGESA_ROOT)/Include
|
||||||
|
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc
|
||||||
|
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/Common
|
||||||
|
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/CPU
|
||||||
|
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/CPU/Family
|
||||||
|
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/Fch
|
||||||
|
BINARY_PI_INC += -I$(AGESA_ROOT)/Proc/Fch/Common
|
||||||
|
|
||||||
|
AGESA_INC = -I$(obj)
|
||||||
|
AGESA_INC += $(BINARY_PI_INC)
|
||||||
|
|
||||||
|
AGESA_INC += -I$(src)/soc/amd/stoneyridge/include
|
||||||
|
AGESA_INC += -I$(src)/soc/amd/common/block/include
|
||||||
|
|
||||||
|
AGESA_INC += -I$(src)/arch/x86/include
|
||||||
|
AGESA_INC += -I$(src)/include
|
||||||
|
AGESA_INC += -I$(src)/commonlib/include
|
||||||
|
AGESA_INC += -I$(VBOOT_SOURCE)/firmware/include
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CPU_AMD_PI_00730F01),y)
|
ifeq ($(CONFIG_CPU_AMD_PI_00730F01),y)
|
||||||
# AGESA V5 Files
|
# AGESA V5 Files
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue