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

Side by Side Diff: Makefile.standalone

Issue 1185703006: Build ARM SZ runtime files. Use le32-nacl-objcopy in various places. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 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 | pydir/build-runtime.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # The following variables will likely need to be modified, depending on where 1 # The following variables will likely need to be modified, depending on where
2 # and how you built LLVM & Clang. They can be overridden in a command-line 2 # and how you built LLVM & Clang. They can be overridden in a command-line
3 # invocation of make, like: 3 # invocation of make, like:
4 # 4 #
5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ 5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \
6 # PNACL_BIN_PATH=<path> ... 6 # PNACL_BIN_PATH=<path> ...
7 # 7 #
8 8
9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This
10 # directory should contain the configure script, the include/ and lib/ 10 # directory should contain the configure script, the include/ and lib/
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 $(OBJDIR): 272 $(OBJDIR):
273 @mkdir -p $@ 273 @mkdir -p $@
274 $(SB_OBJDIR): 274 $(SB_OBJDIR):
275 @mkdir -p $@ 275 @mkdir -p $@
276 276
277 $(OBJDIR)/unittest: $(OBJDIR) 277 $(OBJDIR)/unittest: $(OBJDIR)
278 @mkdir -p $@ 278 @mkdir -p $@
279 279
280 RT_SRC := runtime/szrt.c runtime/szrt_ll.ll runtime/szrt_profiler.c 280 RT_SRC := runtime/szrt.c runtime/szrt_ll.ll runtime/szrt_profiler.c
281 RT_OBJ := build/runtime/szrt_native_x8632.o build/runtime/szrt_sb_x8632.o 281 RT_OBJ := build/runtime/szrt_native_x8632.o build/runtime/szrt_sb_x8632.o \
282 » build/runtime/szrt_native_arm32.o build/runtime/szrt_sb_arm32.o
282 283
283 runtime: $(RT_OBJ) 284 runtime: $(RT_OBJ)
284 285
285 # Use runtime.is.built so that build-runtime.py is invoked only once 286 # Use runtime.is.built so that build-runtime.py is invoked only once
286 # even in a parallel build. 287 # even in a parallel build.
287 .INTERMEDIATE: runtime.is.built 288 .INTERMEDIATE: runtime.is.built
288 $(RT_OBJ): runtime.is.built 289 $(RT_OBJ): runtime.is.built
289 runtime.is.built: $(RT_SRC) pydir/build-runtime.py 290 runtime.is.built: $(RT_SRC) pydir/build-runtime.py
290 @echo ================ Building Subzero runtime ================ 291 @echo ================ Building Subzero runtime ================
291 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT) 292 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 bloat: make_symlink 330 bloat: make_symlink
330 nm -C -S -l pnacl-sz | \ 331 nm -C -S -l pnacl-sz | \
331 bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json 332 bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json
332 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html 333 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html
333 334
334 clean: 335 clean:
335 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json 336 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json
336 337
337 clean-all: clean 338 clean-all: clean
338 rm -rf build/ 339 rm -rf build/
OLDNEW
« no previous file with comments | « no previous file | pydir/build-runtime.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698