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

Side by Side Diff: Makefile

Issue 3004001: Introduce ability to change the kernel command line. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Address review comments. Created 10 years, 5 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 | utility/vbutil_kernel.c » ('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 -DCHROMEOS_ENVIRONMENT 7 export CFLAGS = -Wall -Werror -DCHROMEOS_ENVIRONMENT
8 ifeq (${DEBUG},)
9 CFLAGS += -O3
10 else
11 CFLAGS += -O0 -g -DVBOOT_DEBUG
12 endif
13 ifeq (${DISABLE_NDEBUG},)
14 CFLAGS += -DNDEBUG
15 endif
16
8 export TOP = $(shell pwd) 17 export TOP = $(shell pwd)
9 export FWDIR=$(TOP)/firmware 18 export FWDIR=$(TOP)/firmware
10 export HOSTDIR=$(TOP)/host 19 export HOSTDIR=$(TOP)/host
11 export INCLUDES = -I$(FWDIR)/include -I$(FWDIR)/stub/include 20 export INCLUDES = -I$(FWDIR)/include -I$(FWDIR)/stub/include
12 21
13 export BUILD = ${TOP}/build 22 export BUILD = ${TOP}/build
14 export FWLIB = ${BUILD}/vboot_fw.a 23 export FWLIB = ${BUILD}/vboot_fw.a
15 export HOSTLIB= ${BUILD}/vboot_host.a 24 export HOSTLIB= ${BUILD}/vboot_host.a
16 25
17 SUBDIRS = firmware host utility cgpt tests tests/tpm_lite 26 SUBDIRS = firmware host utility cgpt tests tests/tpm_lite
(...skipping 19 matching lines...) Expand all
37 $(MAKE) -C cgpt install 46 $(MAKE) -C cgpt install
38 47
39 runtests: 48 runtests:
40 $(MAKE) -C tests runtests 49 $(MAKE) -C tests runtests
41 50
42 rbtest: 51 rbtest:
43 $(MAKE) -C tests rbtest 52 $(MAKE) -C tests rbtest
44 53
45 update_tlcl_structures: 54 update_tlcl_structures:
46 $(MAKE) -C utility update_tlcl_structures 55 $(MAKE) -C utility update_tlcl_structures
OLDNEW
« no previous file with comments | « no previous file | utility/vbutil_kernel.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698