diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 3b161705ed..6b3f0d8a59 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -60,7 +60,7 @@ ramstage-y += cbfs.c ramstage-y += lzma.c #ramstage-y += lzmadecode.c ramstage-y += stack.c -ramstage-y += gcc.c +ramstage-$(CONFIG_ARCH_X86) += gcc.c ramstage-y += clog2.c ramstage-y += cbmem.c ramstage-$(CONFIG_CONSOLE_SERIAL8250) += uart8250.c