Skip to content

Commit

Permalink
build/configs/artik05x: Fix the build break with non standard python …
Browse files Browse the repository at this point in the history
…path

Env:
Python installed in path other than /usr/bin/python

Test Configution:
./tools/configure.sh  artik053/hello
make

Issue:
TizenRT/os/../build/configs/artik05x/artik05x_make_bin.sh:
TizenRT/build/configs/artik05x/../../../os/tools/s5jchksum.py:
/usr/bin/python: bad interpreter: No such file or directory
Makefile.unix:494: recipe for target 'post' failed
make: *** [post] Error 126

Cause:
artik05x_make_bin.sh requires python to be installed at /usr/bin/python
but it is possible to install python in other path and export system wide.

Measure:
Invoke the script with python which avoids looking for /usr/bin/python

Signed-off-by: Manohara HK <[email protected]>
  • Loading branch information
manoharahk authored and sunghan-chang committed Feb 18, 2022
1 parent a3f4f81 commit 566c7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/configs/artik05x/artik05x_make_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fi

add_checksum() {
echo "ATTACHNS2: ${TIZENRT_BIN} --> ${SAMSUNG_NS2_BIN}"
${OS_DIR_PATH}/tools/s5jchksum.py ${OUTPUT_BINARY_PATH}/${TIZENRT_BIN} ${OUTPUT_BINARY_PATH}/${SAMSUNG_NS2_BIN}
python ${OS_DIR_PATH}/tools/s5jchksum.py ${OUTPUT_BINARY_PATH}/${TIZENRT_BIN} ${OUTPUT_BINARY_PATH}/${SAMSUNG_NS2_BIN}
}

signing() {
Expand Down

0 comments on commit 566c7e6

Please sign in to comment.