OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium 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 # | 5 # |
6 # GNU Make based build file. For details on GNU Make see: | 6 # GNU Make based build file. For details on GNU Make see: |
7 # http://www.gnu.org/software/make/manual/make.html | 7 # http://www.gnu.org/software/make/manual/make.html |
8 # | 8 # |
9 | 9 |
10 | 10 |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
445 else | 445 else |
446 LIB_NAME = lib64 | 446 LIB_NAME = lib64 |
447 endif | 447 endif |
448 | 448 |
449 | 449 |
450 ifeq (newlib,$(TOOLCHAIN)) | 450 ifeq (newlib,$(TOOLCHAIN)) |
451 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(TARGET)_$(SYSARCH).nexe | 451 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(TARGET)_$(SYSARCH).nexe |
452 else | 452 else |
453 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(LIB_NAME)/runnable-ld.so | 453 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(LIB_NAME)/runnable-ld.so |
454 endif | 454 endif |
455 | |
456 ifdef STANDALONE | |
457 run: all | |
458 ifndef NACL_ARCH | |
459 $(error Cannot run in standalone build unless $$NACL_ARCH is set) | |
460 endif | |
461 $(SEL_LDR_PATH) $(SEL_LDR_ARGS) $(OUTDIR)/$(TARGET)_$(NACL_ARCH).nexe -- $(EXE_ARGS) | |
462 | |
463 debug: all | |
464 ifndef NACL_ARCH | |
465 $(error Cannot run in sel_ldr unless $$NACL_ARCH is set) | |
binji
2013/11/15 18:21:18
standalone
Sam Clegg
2013/11/15 18:26:28
Done.
| |
466 endif | |
467 $(SEL_LDR_PATH) -d $(SEL_LDR_ARGS) $(OUTDIR)/$(TARGET)_$(NACL_ARCH).nexe -- $(EXE_ARGS) | |
468 endif | |
OLD | NEW |