summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2016-09-18 22:50:21 -0500
committerMartin Roth <martinroth@google.com>2017-06-04 18:41:45 +0200
commit32a618b03bc5f405b60972eec91032114cdea5a1 (patch)
treec0bbfe5df0c7f02782a77271ba49755aa02bc290 /src/mainboard
parent1a5c6201daeafeba22e3545ba15c462a2f54176f (diff)
google/parrot: make chromeos.c compilation conditional on CONFIG_CHROMEOS
No reason to compile/include chromeos.c for non-ChromeOS builds Change-Id: Ie8ef1f4c521b2a7308941299f2501073937bdf4a Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/19959 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/parrot/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/parrot/Makefile.inc b/src/mainboard/google/parrot/Makefile.inc
index 78e5b986d9..a76bc12fe3 100644
--- a/src/mainboard/google/parrot/Makefile.inc
+++ b/src/mainboard/google/parrot/Makefile.inc
@@ -15,6 +15,6 @@
ramstage-y += ec.c
-romstage-y += chromeos.c
-ramstage-y += chromeos.c
+romstage-$(CONFIG_CHROMEOS) += chromeos.c
+ramstage-$(CONFIG_CHROMEOS) += chromeos.c
romstage-y += gpio.c