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

Side by Side Diff: config.mk

Issue 3515011: Add VBOOT to top-level Makefile (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/u-boot.git
Patch Set: Remove $(TOPDIR)/include Created 10 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Makefile ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # (C) Copyright 2000-2006 2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. 3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 # 4 #
5 # See file CREDITS for list of people who contributed to this 5 # See file CREDITS for list of people who contributed to this
6 # project. 6 # project.
7 # 7 #
8 # This program is free software; you can redistribute it and/or 8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as 9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of 10 # published by the Free Software Foundation; either version 2 of
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 endif 129 endif
130 130
131 ifneq ($(RESET_VECTOR_ADDRESS),) 131 ifneq ($(RESET_VECTOR_ADDRESS),)
132 CPPFLAGS += -DRESET_VECTOR_ADDRESS=$(RESET_VECTOR_ADDRESS) 132 CPPFLAGS += -DRESET_VECTOR_ADDRESS=$(RESET_VECTOR_ADDRESS)
133 endif 133 endif
134 134
135 ifneq ($(OBJTREE),$(SRCTREE)) 135 ifneq ($(OBJTREE),$(SRCTREE))
136 CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include 136 CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include
137 endif 137 endif
138 138
139 ifdef VBOOT
140 CPPFLAGS += -I$(VBOOT)/include/vboot
141 endif
142
139 CPPFLAGS += -I$(TOPDIR)/include 143 CPPFLAGS += -I$(TOPDIR)/include
140 CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ 144 CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \
141 -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) 145 -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS)
142 146
143 ifdef BUILD_TAG 147 ifdef BUILD_TAG
144 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \ 148 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \
145 -DBUILD_TAG='"$(BUILD_TAG)"' 149 -DBUILD_TAG='"$(BUILD_TAG)"'
146 else 150 else
147 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes 151 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
148 endif 152 endif
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 $(obj)%.o: %.S 217 $(obj)%.o: %.S
214 $(CC) $(AFLAGS) $(AFLAGS_$(@F)) $(AFLAGS_$(BCURDIR)) -o $@ $< -c 218 $(CC) $(AFLAGS) $(AFLAGS_$(@F)) $(AFLAGS_$(BCURDIR)) -o $@ $< -c
215 $(obj)%.o: %.c 219 $(obj)%.o: %.c
216 $(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c 220 $(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c
217 $(obj)%.i: %.c 221 $(obj)%.i: %.c
218 $(CPP) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c 222 $(CPP) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c
219 $(obj)%.s: %.c 223 $(obj)%.s: %.c
220 $(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c -S 224 $(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c -S
221 225
222 ######################################################################### 226 #########################################################################
OLDNEW
« no previous file with comments | « Makefile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698