e1133b7d7d
This change switches all northbridge vendors and southbridges to be autoincluded by Makefile.inc, rather than having to be mentioned explicitly in northbridge/Makefile.inc or in northbridge/<vendor>/Makefile.inc. This means, vendor and northbridge directories are now "drop in", e.g. be placed in the coreboot directory hierarchy without having to modify any higher level coreboot files. The long term plan is to enable out of tree components to be built with a given coreboot version (given that the API did not change). Change-Id: I8468154dbfaaaffcba9fda27ba2d7b9049ad5c19 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/9800 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
33 lines
984 B
Makefile
33 lines
984 B
Makefile
ifeq ($(CONFIG_NORTHBRIDGE_AMD_AMDK8),y)
|
|
|
|
ramstage-y += northbridge.c
|
|
ramstage-y += misc_control.c
|
|
ramstage-y += get_sblk_pci1234.c
|
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
|
|
|
|
# Enable this if you want to check the values of the PCI routing registers.
|
|
# Call show_all_routes() anywhere amdk8.h is included.
|
|
#ramstage-y += util.c
|
|
|
|
# Not sure what to do with these yet. How did raminit_test even work?
|
|
# Should be a target in -y form.
|
|
#if CONFIG_K8_REV_F_SUPPORT
|
|
#
|
|
#makerule raminit_test
|
|
# depends "$(TOP)/src/northbridge/amd/amdk8/raminit_test.c"
|
|
# depends "$(TOP)/src/northbridge/amd/amdk8/raminit_f.c"
|
|
# action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) -Wno-unused-function -I$(TOP)/src/include -g $< -o $@"
|
|
#end
|
|
#
|
|
#else
|
|
#
|
|
#makerule raminit_test
|
|
# depends "$(TOP)/src/northbridge/amd/amdk8/raminit_test.c"
|
|
# depends "$(TOP)/src/northbridge/amd/amdk8/raminit.c"
|
|
# action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) -Wno-unused-function -I$(TOP)/src/include -g $< -o $@"
|
|
#end
|
|
#
|
|
#end
|
|
#
|
|
|
|
endif
|