Rearrange vboot_reference directories to isolate external components.
This creates a new vboot_firmware subdirectory, and which contains the
entirety of the BIOS code. There shouldn't be anything in this directory
that is NOT required by the BIOS.
Review URL: http://codereview.chromium.org/2219004
diff --git a/Makefile b/Makefile
index 268b81f..93f49da 100644
--- a/Makefile
+++ b/Makefile
@@ -5,13 +5,15 @@
export CC ?= gcc
export CFLAGS = -Wall -DNDEBUG -O3 -Werror
export TOP = $(shell pwd)
+export FWDIR=$(TOP)/vboot_firmware
export INCLUDES = \
- -I$(TOP)/common/include \
- -I$(TOP)/cryptolib/include \
+ -I$(FWDIR)/include \
-I$(TOP)/misclibs/include \
-I$(TOP)/cgptlib
-SUBDIRS=common cgptlib cryptolib misclibs vfirmware vkernel utility tests
+export FWLIB=$(FWDIR)/vboot_fw.a
+
+SUBDIRS=vboot_firmware cgptlib misclibs vfirmware vkernel utility tests
all:
set -e; \