UPSTREAM: google/parrot: make chromeos.c compilation conditional on CONFIG_CHROMEOS

No reason to compile/include chromeos.c for non-ChromeOS builds

BUG=none
BRANCH=none
TEST=none

Change-Id: I71ce0de650994542f324fd0594820942919e6db2
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 32a618b03b
Original-Change-Id: Ie8ef1f4c521b2a7308941299f2501073937bdf4a
Original-Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Original-Reviewed-on: https://review.coreboot.org/19959
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://chromium-review.googlesource.com/523978
This commit is contained in:
Matt DeVillier 2016-09-18 22:50:21 -05:00 committed by chrome-bot
commit 7ad8df0c30

View file

@ -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