gpio: compile gpio.c at all stages
Since gpio.c is more generic now and will be used in various stages (ie for board_id()), compile it for all stages. BUG=none BRANCH=none TEST=compiled for peppy and veyron_pinky Change-Id: Ib5c73f68db92791dd6b42369f681f9159b7e1c22 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: ef4e40ccf6510d63c4a54451bdfea8da695e387e Original-Change-Id: I77ec56a77e75e602e8b9406524d36a8f69ce9128 Original-Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/228325 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: http://review.coreboot.org/9414 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: David Hendricks <dhendrix@chromium.org> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
77b55eb56a
commit
6fab365299
|
@ -21,6 +21,7 @@ subdirs-y += loaders
|
||||||
bootblock-y += prog_ops.c
|
bootblock-y += prog_ops.c
|
||||||
bootblock-y += cbfs.c cbfs_core.c
|
bootblock-y += cbfs.c cbfs_core.c
|
||||||
bootblock-$(CONFIG_COMMON_CBFS_SPI_WRAPPER) += cbfs_spi.c
|
bootblock-$(CONFIG_COMMON_CBFS_SPI_WRAPPER) += cbfs_spi.c
|
||||||
|
bootblock-$(CONFIG_GENERIC_GPIO_LIB) += gpio.c
|
||||||
|
|
||||||
bootblock-$(CONFIG_GENERIC_UDELAY) += timer.c
|
bootblock-$(CONFIG_GENERIC_UDELAY) += timer.c
|
||||||
|
|
||||||
|
@ -36,6 +37,7 @@ verstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
|
||||||
verstage-$(CONFIG_COMMON_CBFS_SPI_WRAPPER) += cbfs_spi.c
|
verstage-$(CONFIG_COMMON_CBFS_SPI_WRAPPER) += cbfs_spi.c
|
||||||
verstage-y += tlcl.c
|
verstage-y += tlcl.c
|
||||||
verstage-$(CONFIG_GENERIC_UDELAY) += timer.c
|
verstage-$(CONFIG_GENERIC_UDELAY) += timer.c
|
||||||
|
verstage-$(CONFIG_GENERIC_GPIO_LIB) += gpio.c
|
||||||
|
|
||||||
romstage-y += prog_ops.c
|
romstage-y += prog_ops.c
|
||||||
romstage-y += memchr.c
|
romstage-y += memchr.c
|
||||||
|
@ -51,6 +53,7 @@ romstage-$(CONFIG_COMPRESS_RAMSTAGE) += lzma.c lzmadecode.c
|
||||||
romstage-$(CONFIG_PRIMITIVE_MEMTEST) += primitive_memtest.c
|
romstage-$(CONFIG_PRIMITIVE_MEMTEST) += primitive_memtest.c
|
||||||
ramstage-$(CONFIG_PRIMITIVE_MEMTEST) += primitive_memtest.c
|
ramstage-$(CONFIG_PRIMITIVE_MEMTEST) += primitive_memtest.c
|
||||||
romstage-$(CONFIG_CACHE_AS_RAM) += ramtest.c
|
romstage-$(CONFIG_CACHE_AS_RAM) += ramtest.c
|
||||||
|
romstage-$(CONFIG_GENERIC_GPIO_LIB) += gpio.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_EARLY_CBMEM_INIT),y)
|
ifeq ($(CONFIG_EARLY_CBMEM_INIT),y)
|
||||||
romstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
|
romstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
|
||||||
|
|
Loading…
Reference in New Issue