| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 export CC ?= gcc | 5 export CC ?= gcc |
| 6 export CXX ?= g++ | 6 export CXX ?= g++ |
| 7 export CFLAGS = -Wall -DNDEBUG -O3 -Werror -DCHROMEOS_ENVIRONMENT | 7 export CFLAGS = -Wall -DNDEBUG -O3 -Werror -DCHROMEOS_ENVIRONMENT \ |
| 8 » -DVBOOT_DEBUG |
| 8 export TOP = $(shell pwd) | 9 export TOP = $(shell pwd) |
| 9 export FWDIR=$(TOP)/firmware | 10 export FWDIR=$(TOP)/firmware |
| 10 export HOSTDIR=$(TOP)/host | 11 export HOSTDIR=$(TOP)/host |
| 11 export INCLUDES = -I$(FWDIR)/include -I$(FWDIR)/stub/include | 12 export INCLUDES = -I$(FWDIR)/include -I$(FWDIR)/stub/include |
| 12 | 13 |
| 13 export BUILD = ${TOP}/build | 14 export BUILD = ${TOP}/build |
| 14 export FWLIB = ${BUILD}/vboot_fw.a | 15 export FWLIB = ${BUILD}/vboot_fw.a |
| 15 export HOSTLIB= ${BUILD}/vboot_host.a | 16 export HOSTLIB= ${BUILD}/vboot_host.a |
| 16 | 17 |
| 17 SUBDIRS = firmware host utility cgpt tests | 18 SUBDIRS = firmware host utility cgpt tests |
| (...skipping 13 matching lines...) Expand all Loading... |
| 31 | 32 |
| 32 clean: | 33 clean: |
| 33 /bin/rm -rf ${BUILD} | 34 /bin/rm -rf ${BUILD} |
| 34 | 35 |
| 35 install: | 36 install: |
| 36 $(MAKE) -C utility install | 37 $(MAKE) -C utility install |
| 37 $(MAKE) -C cgpt install | 38 $(MAKE) -C cgpt install |
| 38 | 39 |
| 39 runtests: | 40 runtests: |
| 40 $(MAKE) -C tests runtests | 41 $(MAKE) -C tests runtests |
| OLD | NEW |