SIO: condition compile Nuvoton WPCM450 early_init.c
authorKerry Sheh <shekairui@gmail.com>
Wed, 1 Feb 2012 05:59:00 +0000 (13:59 +0800)
committerPatrick Georgi <patrick@georgi-clan.de>
Sun, 5 Feb 2012 16:45:08 +0000 (17:45 +0100)
Compile Nuvoton WPCM450 early_init.c when CONFIG_SUPERIO_NUVOTON_WPCM450

Change-Id: Ie31b8ae6aa45d6f77efa2b61e215ba0987abf878
Signed-off-by: Kerry Sheh <kerry.she@amd.com>
Signed-off-by: Kerry Sheh <shekairui@gmail.com>
Reviewed-on: http://review.coreboot.org/566
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
src/superio/nuvoton/wpcm450/Makefile.inc

index c70b2fbb13631d72a4e692c1ca7f1c2a2930e41c..b4e4ea7ebe0340e8833bf328c79570d91a55d190 100644 (file)
@@ -1,7 +1,7 @@
 ##
 ## This file is part of the coreboot project.
 ##
-## Copyright (C) 2011 Advanced Micro Devices, Inc.
+## Copyright (C) 2011 - 2012 Advanced Micro Devices, Inc.
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -18,6 +18,6 @@
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 ##
 
-romstage-y += early_init.c
+romstage-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += early_init.c
 ramstage-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += superio.c