Change AMD vendorcode build
Apply the normal method of recursively including subdirectories for src/vendorcode. Remove redundant references under mainboard and northbridge. Change-Id: I914a6e262ed2abe83f407df36fe5c1af5eb4bcb0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/468 Tested-by: build bot (Jenkins) Reviewed-by: Kerry Sheh <shekairui@gmail.com> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
2c1f4d2d83
commit
2a830d0b98
|
@ -38,7 +38,8 @@ PHONY+= clean-abuild coreboot
|
|||
|
||||
#######################################################################
|
||||
# root source directories of coreboot
|
||||
subdirs-y := src/lib src/boot src/console src/devices src/ec src/southbridge src/northbridge src/superio src/drivers src/cpu
|
||||
subdirs-y := src/lib src/boot src/console src/devices src/ec src/southbridge
|
||||
subdirs-y += src/northbridge src/superio src/drivers src/cpu src/vendorcode
|
||||
subdirs-y += util/cbfstool util/sconfig
|
||||
subdirs-y += src/arch/$(ARCHDIR-y)
|
||||
subdirs-y += src/mainboard/$(MAINBOARDDIR)
|
||||
|
|
|
@ -31,4 +31,3 @@ ramstage-y += PlatformGnbPcie.c
|
|||
|
||||
ramstage-y += reset.c
|
||||
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY14) += $(src)/vendorcode/amd/agesa/f14
|
|
@ -38,4 +38,3 @@ ramstage-y += PlatformGnbPcie.c
|
|||
|
||||
ramstage-y += reset.c
|
||||
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY14) += ../../../vendorcode/amd/agesa/f14
|
||||
|
|
|
@ -31,4 +31,3 @@ ramstage-y += PlatformGnbPcie.c
|
|||
|
||||
ramstage-y += reset.c
|
||||
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY14) += ../../../vendorcode/amd/agesa/f14
|
||||
|
|
|
@ -47,4 +47,3 @@ ramstage-y += PlatformGnbPcie.c
|
|||
ramstage-y += reset.c
|
||||
ramstage-y += pmio.c
|
||||
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY12) += $(src)/vendorcode/amd/agesa/f12
|
||||
|
|
|
@ -31,4 +31,3 @@ ramstage-y += PlatformGnbPcie.c
|
|||
|
||||
ramstage-y += reset.c
|
||||
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY14) += ../../../vendorcode/amd/agesa/f14
|
||||
|
|
|
@ -31,4 +31,3 @@ ramstage-y += PlatformGnbPcie.c
|
|||
|
||||
ramstage-y += reset.c
|
||||
|
||||
subdirs-$(CONFIG_AMD_AGESA) += ../../../vendorcode/amd/agesa/f14
|
||||
|
|
|
@ -29,5 +29,3 @@ ramstage-y += dimmSpd.c
|
|||
ramstage-y += BiosCallOuts.c
|
||||
ramstage-y += platform_oem.c
|
||||
|
||||
AGESA_ROOT ?= $(src)/vendorcode/amd/agesa/f10/
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY10) += ../../../../$(AGESA_ROOT)
|
||||
|
|
|
@ -5,6 +5,3 @@ subdirs-$(CONFIG_NORTHBRIDGE_AMD_GX2) += gx2
|
|||
subdirs-$(CONFIG_NORTHBRIDGE_AMD_LX) += lx
|
||||
|
||||
subdirs-$(CONFIG_AMD_AGESA) += agesa
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY10) += ../../vendorcode/amd/agesa/f10
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY12) += ../../vendorcode/amd/agesa/f12
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY14) += ../../vendorcode/amd/agesa/f14
|
||||
|
|
|
@ -1,6 +1,2 @@
|
|||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY10) += $(src)/vendorcode/amd/agesa/f10
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY12) += $(src)/vendorcode/amd/agesa/f12
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY14) += $(src)/vendorcode/amd/agesa/f14
|
||||
subdirs-y += amd
|
||||
|
||||
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800) += $(src)/vendorcode/amd/cimx/sb800
|
||||
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900) += $(src)/vendorcode/amd/cimx/sb900
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
subdirs-y += agesa
|
||||
subdirs-y += cimx
|
|
@ -0,0 +1,3 @@
|
|||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY10) += f10
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY12) += f12
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY14) += f14
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
|
||||
## ABSOLUTE AGESA V5 ROOT PATH ##
|
||||
AGESA_ROOT ?= $(PWD)
|
||||
AGESA_ROOT = src/vendorcode/amd/agesa/f10
|
||||
|
||||
AGESA_INC ?= -I$(src)/mainboard/$(MAINBOARDDIR)
|
||||
AGESA_INC += -I$(AGESA_ROOT)
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800) += sb800
|
||||
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900) += sb900
|
Loading…
Reference in New Issue