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

Unified Diff: tools/Makefile

Issue 245733002: Added arguments to NaCl scons to allow custom toolchain directories. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Use abspath of environment instead of cwd since cwd can change per test Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/gdb/nacl.scons ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/Makefile
diff --git a/tools/Makefile b/tools/Makefile
index df922ac047476ef944963568ae414639e281ec1d..11998fdbf81157e307b5aa8daf56a042b049a8bd 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -867,7 +867,7 @@ gdb: BUILD/stamp-$(CROSSARCH)-gdb
.PHONY: headers_for_build
headers_for_build:
cd .. && \
- ./$(SCONS) naclsdk_mode=custom:$(PREFIX_NATIVE) \
+ ./$(SCONS) nacl_newlib_dir=$(PREFIX_NATIVE) \
--verbose platform=x86-$(BITSPLATFORM) \
install_headers includedir=$(HEADERS_FOR_BUILD_NATIVE)
@@ -1053,14 +1053,14 @@ DEJAGNU_TIMESTAMP := $(shell date +%y%m%d%H%M%S)
.PHONY: $(SEL_LDR)
$(SEL_LDR):
(cd .. && \
- ./$(SCONS) naclsdk_mode=custom:$(DESTDIR)$(PREFIX) \
+ ./$(SCONS) nacl_glibc_dir=$(DESTDIR)$(PREFIX) \
--mode=opt-host,nacl platform=x86-$(BITSPLATFORM) \
--verbose sel_ldr)
.PHONY: check
check: $(SEL_LDR)
(cd .. && \
- ./$(SCONS) naclsdk_mode=custom:$(DESTDIR)$(PREFIX) \
+ ./$(SCONS) nacl_glibc_dir=$(DESTDIR)$(PREFIX) \
--mode=opt-host,nacl platform=x86-$(BITSPLATFORM) \
--verbose run_hello_world_test)
mkdir BUILD/build-gcc-$(CROSSARCH)/results.$(DEJAGNU_TIMESTAMP)
« no previous file with comments | « tests/gdb/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698