diff --git a/setup.py b/setup.py
index f40a5bb..e342408 100644
--- a/setup.py
+++ b/setup.py
@@ -12,17 +12,18 @@ import os
def pre_install():
"""Do the custom compiling of the bluepy-helper executable from the makefile"""
- try:
- print("Working dir is " + os.getcwd())
- for cmd in [ "make -C ./bluepy clean", "make -C bluepy -j1" ]:
- print("execute " + cmd)
- msgs = subprocess.check_output(shlex.split(cmd), stderr=subprocess.STDOUT)
- except subprocess.CalledProcessError as e:
- print("Failed to compile bluepy-helper. Exiting install.")
- print("Command was " + repr(cmd) + " in " + os.getcwd())
- print("Return code was %d" % e.returncode)
- print("Output was:\n%s" % e.output)
- sys.exit(1)
+ ### make will be called by OpenWrt with cross-toolchain flags explicitly
+ #try:
+ # print("Working dir is " + os.getcwd())
+ # for cmd in [ "make -C ./bluepy clean", "make -C bluepy -j1" ]:
+ # print("execute " + cmd)
+ # msgs = subprocess.check_output(shlex.split(cmd), stderr=subprocess.STDOUT)
+ #except subprocess.CalledProcessError as e:
+ # print("Failed to compile bluepy-helper. Exiting install.")
+ # print("Command was " + repr(cmd) + " in " + os.getcwd())
+ # print("Return code was %d" % e.returncode)
+ # print("Output was:\n%s" % e.output)
+ # sys.exit(1)
def post_install():
"""Post installation tasks"""