diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-09-30 16:55:02 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-09-30 16:55:02 +0000 |
commit | 8463dd9db0dc2ce02423775d0eb62e28aa01e9f9 (patch) | |
tree | 71272406c062acdaf19586ea41b4223451f8ad71 /src/northbridge/amd | |
parent | d4d0a456d349002642c1c7e508f2729f1497ab96 (diff) |
Rename build system variables to be more intuitive, and
at the same time let the user specify sources instead
of object files:
- objs becomes ramstage-srcs
- initobjs becomes romstage-srcs
- driver becomes driver-srcs
- smmobj becomes smm-srcs
The user servicable parts are named accordingly:
ramstage-y, romstage-y, driver-y, smm-y
Also, the object file names are properly renamed now, using
.ramstage.o, .romstage.o, .driver.o, .smm.o suffixes consistently.
Remove stubbed out via/epia-m700 dsdt/ssdt files - they didn't
easily fit in the build system and aren't useful anyway.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coreystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5886 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r-- | src/northbridge/amd/amdfam10/Makefile.inc | 22 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/Makefile.inc | 10 | ||||
-rw-r--r-- | src/northbridge/amd/gx1/Makefile.inc | 2 | ||||
-rw-r--r-- | src/northbridge/amd/gx2/Makefile.inc | 6 | ||||
-rw-r--r-- | src/northbridge/amd/lx/Makefile.inc | 6 |
5 files changed, 23 insertions, 23 deletions
diff --git a/src/northbridge/amd/amdfam10/Makefile.inc b/src/northbridge/amd/amdfam10/Makefile.inc index 91f488d50a..05e66d6f2d 100644 --- a/src/northbridge/amd/amdfam10/Makefile.inc +++ b/src/northbridge/amd/amdfam10/Makefile.inc @@ -1,16 +1,16 @@ -driver-y += northbridge.o -driver-y += misc_control.o +driver-y += northbridge.c +driver-y += misc_control.c -obj-$(CONFIG_GENERATE_ACPI_TABLES) += amdfam10_acpi.o -obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt.o -obj-$(CONFIG_GENERATE_ACPI_TABLES) += sspr1.o -obj-$(CONFIG_GENERATE_ACPI_TABLES) += sspr2.o -obj-$(CONFIG_GENERATE_ACPI_TABLES) += sspr3.o -obj-$(CONFIG_GENERATE_ACPI_TABLES) += sspr4.o -obj-$(CONFIG_GENERATE_ACPI_TABLES) += sspr5.o +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += amdfam10_acpi.c +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt.asl +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += sspr1.asl +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += sspr2.asl +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += sspr3.asl +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += sspr4.asl +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += sspr5.asl -obj-y += get_pci1234.o +ramstage-y += get_pci1234.c # Enable this if you want to check the values of the PCI routing registers. # Call show_all_routes() anywhere amdfam10.h is included. -#obj-y += util.o +#ramstage-y += util.c diff --git a/src/northbridge/amd/amdk8/Makefile.inc b/src/northbridge/amd/amdk8/Makefile.inc index 1a8631ddb9..f5c4d19fbb 100644 --- a/src/northbridge/amd/amdk8/Makefile.inc +++ b/src/northbridge/amd/amdk8/Makefile.inc @@ -1,11 +1,11 @@ -driver-y += northbridge.o -driver-y += misc_control.o -obj-y += get_sblk_pci1234.o -obj-$(CONFIG_GENERATE_ACPI_TABLES) += amdk8_acpi.o +driver-y += northbridge.c +driver-y += misc_control.c +ramstage-y += get_sblk_pci1234.c +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += amdk8_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. -#obj-y += util.o +#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. diff --git a/src/northbridge/amd/gx1/Makefile.inc b/src/northbridge/amd/gx1/Makefile.inc index c6b480940f..16d702a24e 100644 --- a/src/northbridge/amd/gx1/Makefile.inc +++ b/src/northbridge/amd/gx1/Makefile.inc @@ -18,5 +18,5 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -driver-y += northbridge.o +driver-y += northbridge.c diff --git a/src/northbridge/amd/gx2/Makefile.inc b/src/northbridge/amd/gx2/Makefile.inc index f86105fd2e..482aff92aa 100644 --- a/src/northbridge/amd/gx2/Makefile.inc +++ b/src/northbridge/amd/gx2/Makefile.inc @@ -1,3 +1,3 @@ -driver-y += northbridge.o -obj-y += northbridgeinit.o -obj-y += grphinit.o +driver-y += northbridge.c +ramstage-y += northbridgeinit.c +ramstage-y += grphinit.c diff --git a/src/northbridge/amd/lx/Makefile.inc b/src/northbridge/amd/lx/Makefile.inc index f86105fd2e..482aff92aa 100644 --- a/src/northbridge/amd/lx/Makefile.inc +++ b/src/northbridge/amd/lx/Makefile.inc @@ -1,3 +1,3 @@ -driver-y += northbridge.o -obj-y += northbridgeinit.o -obj-y += grphinit.o +driver-y += northbridge.c +ramstage-y += northbridgeinit.c +ramstage-y += grphinit.c |