[coreboot] r811 - in coreboot-v3: device northbridge/amd/k8

svn at coreboot.org svn at coreboot.org
Sun Aug 24 08:16:03 CEST 2008


Author: rminnich
Date: 2008-08-24 08:16:03 +0200 (Sun, 24 Aug 2008)
New Revision: 811

Modified:
   coreboot-v3/device/Makefile
   coreboot-v3/northbridge/amd/k8/Makefile
Log:
More sensible way to conditionally include hypertransport.c

Builds both K8 and Geode bioses with no trouble.

Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
Acked-by: Ronald G. Minnch <rminnich at gmail.com>


Modified: coreboot-v3/device/Makefile
===================================================================
--- coreboot-v3/device/Makefile	2008-08-24 06:07:21 UTC (rev 810)
+++ coreboot-v3/device/Makefile	2008-08-24 06:16:03 UTC (rev 811)
@@ -28,3 +28,7 @@
 		    pci_device.c pci_ops.c pci_rom.c pnp_device.c pnp_raw.c \
 			smbus_ops.c
 
+# this is only needed on the K8
+ifeq ($(CONFIG_NORTHBRIDGE_AMD_K8),y)
+STAGE2_DEVICE_SRC += hypertransport.c
+endif

Modified: coreboot-v3/northbridge/amd/k8/Makefile
===================================================================
--- coreboot-v3/northbridge/amd/k8/Makefile	2008-08-24 06:07:21 UTC (rev 810)
+++ coreboot-v3/northbridge/amd/k8/Makefile	2008-08-24 06:16:03 UTC (rev 811)
@@ -26,7 +26,6 @@
 					$(src)/northbridge/amd/k8/common.c \
 					$(src)/northbridge/amd/k8/cpu.c \
 					$(src)/northbridge/amd/k8/domain.c \
-					$(src)/northbridge/amd/k8/pci.c \
-					$(src)/device/hypertransport.c
+					$(src)/northbridge/amd/k8/pci.c
 
 endif





More information about the coreboot mailing list