Makefile: Fix adding intel/common

Directory intel/common must be conditionally added in the list
of source directories, as the parent directory southbridge/intel
is unconditionally added even for boards without such device.

Change-Id: I7088bc6db9f56909ffa996aa7eff76cd72e177eb
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3827
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Kyösti Mälkki 2013-07-28 23:39:37 +03:00
parent e23c22dd88
commit 71216c9bcd
10 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,4 @@
source src/southbridge/intel/common/Kconfig
source src/southbridge/intel/esb6300/Kconfig source src/southbridge/intel/esb6300/Kconfig
source src/southbridge/intel/i3100/Kconfig source src/southbridge/intel/i3100/Kconfig
source src/southbridge/intel/i82371eb/Kconfig source src/southbridge/intel/i82371eb/Kconfig

View File

@ -1,4 +1,4 @@
subdirs-y += common subdirs-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON) += common
subdirs-$(CONFIG_SOUTHBRIDGE_INTEL_ESB6300) += esb6300 subdirs-$(CONFIG_SOUTHBRIDGE_INTEL_ESB6300) += esb6300
subdirs-$(CONFIG_SOUTHBRIDGE_INTEL_I3100) += i3100 subdirs-$(CONFIG_SOUTHBRIDGE_INTEL_I3100) += i3100
subdirs-$(CONFIG_SOUTHBRIDGE_INTEL_I82371EB) += i82371eb subdirs-$(CONFIG_SOUTHBRIDGE_INTEL_I82371EB) += i82371eb

View File

@ -27,6 +27,7 @@ if SOUTHBRIDGE_INTEL_BD82X6X || SOUTHBRIDGE_INTEL_C216
config SOUTH_BRIDGE_OPTIONS # dummy config SOUTH_BRIDGE_OPTIONS # dummy
def_bool y def_bool y
select SOUTHBRIDGE_INTEL_COMMON
select IOAPIC select IOAPIC
select HAVE_HARD_RESET select HAVE_HARD_RESET
select HAVE_USBDEBUG select HAVE_USBDEBUG

View File

@ -0,0 +1,2 @@
config SOUTHBRIDGE_INTEL_COMMON
def_bool n

View File

@ -21,6 +21,7 @@
config SOUTHBRIDGE_INTEL_I82801DX config SOUTHBRIDGE_INTEL_I82801DX
bool bool
select SOUTHBRIDGE_INTEL_COMMON
select IOAPIC select IOAPIC
select HAVE_HARD_RESET select HAVE_HARD_RESET
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER

View File

@ -1,5 +1,6 @@
config SOUTHBRIDGE_INTEL_I82801EX config SOUTHBRIDGE_INTEL_I82801EX
bool bool
select SOUTHBRIDGE_INTEL_COMMON
select IOAPIC select IOAPIC
select HAVE_HARD_RESET select HAVE_HARD_RESET
select HAVE_USBDEBUG select HAVE_USBDEBUG

View File

@ -19,6 +19,7 @@
config SOUTHBRIDGE_INTEL_I82801GX config SOUTHBRIDGE_INTEL_I82801GX
bool bool
select SOUTHBRIDGE_INTEL_COMMON
select IOAPIC select IOAPIC
select HAVE_HARD_RESET select HAVE_HARD_RESET
select HAVE_USBDEBUG select HAVE_USBDEBUG

View File

@ -20,6 +20,7 @@
config SOUTHBRIDGE_INTEL_I82801IX config SOUTHBRIDGE_INTEL_I82801IX
bool bool
select SOUTHBRIDGE_INTEL_COMMON
select IOAPIC select IOAPIC
select HAVE_USBDEBUG select HAVE_USBDEBUG
select HAVE_HARD_RESET select HAVE_HARD_RESET

View File

@ -24,6 +24,7 @@ if SOUTHBRIDGE_INTEL_LYNXPOINT
config SOUTH_BRIDGE_OPTIONS # dummy config SOUTH_BRIDGE_OPTIONS # dummy
def_bool y def_bool y
select SOUTHBRIDGE_INTEL_COMMON
select IOAPIC select IOAPIC
select HAVE_HARD_RESET select HAVE_HARD_RESET
select HAVE_USBDEBUG select HAVE_USBDEBUG

View File

@ -19,6 +19,7 @@
config SOUTHBRIDGE_INTEL_SCH config SOUTHBRIDGE_INTEL_SCH
bool bool
select SOUTHBRIDGE_INTEL_COMMON
select HAVE_USBDEBUG select HAVE_USBDEBUG
select HAVE_HARD_RESET select HAVE_HARD_RESET
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER