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: Makefile

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 | « no previous file | config.mk » ('j') | 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 # Copyright (c) 2010, Code Aurora Forum. All rights reserved. 2 # Copyright (c) 2010, Code Aurora Forum. All rights reserved.
3 # (C) Copyright 2000-2009 3 # (C) Copyright 2000-2009
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # 5 #
6 # See file CREDITS for list of people who contributed to this 6 # See file CREDITS for list of people who contributed to this
7 # project. 7 # project.
8 # 8 #
9 # This program is free software; you can redistribute it and/or 9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License as 10 # modify it under the terms of the GNU General Public License as
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 ifdef USE_PRIVATE_LIBGCC 261 ifdef USE_PRIVATE_LIBGCC
262 ifeq ("$(USE_PRIVATE_LIBGCC)", "yes") 262 ifeq ("$(USE_PRIVATE_LIBGCC)", "yes")
263 PLATFORM_LIBGCC = -L $(OBJTREE)/lib_$(ARCH) -lgcc 263 PLATFORM_LIBGCC = -L $(OBJTREE)/lib_$(ARCH) -lgcc
264 else 264 else
265 PLATFORM_LIBGCC = -L $(USE_PRIVATE_LIBGCC) -lgcc 265 PLATFORM_LIBGCC = -L $(USE_PRIVATE_LIBGCC) -lgcc
266 endif 266 endif
267 else 267 else
268 PLATFORM_LIBGCC = -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 268 PLATFORM_LIBGCC = -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
269 endif 269 endif
270 PLATFORM_LIBS += $(PLATFORM_LIBGCC) 270 PLATFORM_LIBS += $(PLATFORM_LIBGCC)
271 # Add vboot_reference lib
272 ifdef VBOOT
273 PLATFORM_LIBS += $(VBOOT)/lib/vboot_fw.a
274 endif
271 export PLATFORM_LIBS 275 export PLATFORM_LIBS
272 276
273 # Special flags for CPP when processing the linker script. 277 # Special flags for CPP when processing the linker script.
274 # Pass the version down so we can handle backwards compatibility 278 # Pass the version down so we can handle backwards compatibility
275 # on the fly. 279 # on the fly.
276 LDPPFLAGS += \ 280 LDPPFLAGS += \
277 -include $(TOPDIR)/include/u-boot/u-boot.lds.h \ 281 -include $(TOPDIR)/include/u-boot/u-boot.lds.h \
278 $(shell $(LD) --version | \ 282 $(shell $(LD) --version | \
279 sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJO R=\1 -DLD_MINOR=\2/p') 283 sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJO R=\1 -DLD_MINOR=\2/p')
280 284
(...skipping 3542 matching lines...) Expand 10 before | Expand all | Expand 10 after
3823 mrproper \ 3827 mrproper \
3824 distclean: clobber unconfig 3828 distclean: clobber unconfig
3825 rm -rf $(obj)* 3829 rm -rf $(obj)*
3826 endif 3830 endif
3827 3831
3828 backup: 3832 backup:
3829 F=`basename $(TOPDIR)` ; cd .. ; \ 3833 F=`basename $(TOPDIR)` ; cd .. ; \
3830 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 3834 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
3831 3835
3832 ######################################################################### 3836 #########################################################################
OLDNEW
« no previous file with comments | « no previous file | config.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698