Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Side by Side Diff: Makefile

Issue 2835006: Remove old firmware verification code (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tests/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7 export CFLAGS = -Wall -DNDEBUG -O3 -Werror
8 export TOP = $(shell pwd) 8 export TOP = $(shell pwd)
9 export FWDIR=$(TOP)/vboot_firmware 9 export FWDIR=$(TOP)/vboot_firmware
10 export HOSTDIR=$(TOP)/host 10 export HOSTDIR=$(TOP)/host
11 export INCLUDES = \ 11 export INCLUDES = \
12 -I$(FWDIR)/include \ 12 -I$(FWDIR)/include \
13 -I$(TOP)/misclibs/include 13 -I$(TOP)/misclibs/include
14 14
15 export BUILD = ${TOP}/build 15 export BUILD = ${TOP}/build
16 export FWLIB = ${BUILD}/vboot_fw.a 16 export FWLIB = ${BUILD}/vboot_fw.a
17 export HOSTLIB= ${BUILD}/vboot_host.a 17 export HOSTLIB= ${BUILD}/vboot_host.a
18 18
19 SUBDIRS = vboot_firmware misclibs host vfirmware vkernel utility cgpt tests 19 SUBDIRS = vboot_firmware misclibs host vkernel utility cgpt tests
20 20
21 all: 21 all:
22 set -e; \ 22 set -e; \
23 for d in $(shell find ${SUBDIRS} -name '*.c' -exec dirname {} \; |\ 23 for d in $(shell find ${SUBDIRS} -name '*.c' -exec dirname {} \; |\
24 sort -u); do \ 24 sort -u); do \
25 newdir=${BUILD}/$$d; \ 25 newdir=${BUILD}/$$d; \
26 if [ ! -d $$newdir ]; then \ 26 if [ ! -d $$newdir ]; then \
27 mkdir -p $$newdir; \ 27 mkdir -p $$newdir; \
28 fi; \ 28 fi; \
29 done && \ 29 done && \
30 for i in $(SUBDIRS); do \ 30 for i in $(SUBDIRS); do \
31 make -C $$i; \ 31 make -C $$i; \
32 done 32 done
33 33
34 clean: 34 clean:
35 /bin/rm -rf ${BUILD} 35 /bin/rm -rf ${BUILD}
36 36
37 install: 37 install:
38 $(MAKE) -C utility install 38 $(MAKE) -C utility install
39 $(MAKE) -C cgpt install 39 $(MAKE) -C cgpt install
40 40
41 runtests: 41 runtests:
42 $(MAKE) -C tests runtests 42 $(MAKE) -C tests runtests
OLDNEW
« no previous file with comments | « no previous file | tests/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698