summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/tools/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'native_client_sdk/src/tools/common.mk')
-rw-r--r--native_client_sdk/src/tools/common.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/native_client_sdk/src/tools/common.mk b/native_client_sdk/src/tools/common.mk
index 058af1b..4a5ab62 100644
--- a/native_client_sdk/src/tools/common.mk
+++ b/native_client_sdk/src/tools/common.mk
@@ -28,6 +28,7 @@ TOP_MAKE := $(word 1,$(MAKEFILE_LIST))
# Figure out which OS we are running on.
#
GETOS = python $(NACL_SDK_ROOT)/tools/getos.py
+FIXDEPS = python $(NACL_SDK_ROOT)/tools/fix_deps.py
OSNAME := $(shell $(GETOS))
@@ -370,7 +371,7 @@ endif
#
# Assign a sensible default to CHROME_PATH.
#
-CHROME_PATH ?= $(shell python $(NACL_SDK_ROOT)/tools/getos.py --chrome 2> $(DEV_NULL))
+CHROME_PATH ?= $(shell $(GETOS) --chrome 2> $(DEV_NULL))
#
# Verify we can find the Chrome executable if we need to launch it.
@@ -423,7 +424,7 @@ run_package: check_for_chrome all
$(CHROME_PATH) --load-and-launch-app=$(CURDIR) $(CHROME_ARGS)
-SYSARCH = $(shell python $(NACL_SDK_ROOT)/tools/getos.py --nacl-arch)
+SYSARCH = $(shell $(GETOS) --nacl-arch)
GDB_ARGS += -D $(TC_PATH)/$(OSNAME)_x86_$(TOOLCHAIN)/bin/$(SYSARCH)-nacl-gdb
GDB_ARGS += -D $(abspath $(OUTDIR))/$(TARGET)_$(SYSARCH).nexe