diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-10-30 11:23:40 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-10-30 11:30:27 +0100 |
commit | 7b0b3500bb74938538356492eee1ef0223e5866a (patch) | |
tree | d02e02305aa471e4c8e2a2c6da212e2cd1c7463f /bin/ptxdist | |
parent | 01847c73bf4252d722c4d8c6692febcfb1b8161d (diff) | |
download | ptxdist-7b0b3500bb74938538356492eee1ef0223e5866a.tar.gz ptxdist-7b0b3500bb74938538356492eee1ef0223e5866a.tar.xz |
ptxdist: use PTXCONF_SETUP_HOST_MAKE to check if --output-sync is supported
That's the make version that is used later with the detected argument.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-x | bin/ptxdist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 7a07ecdfe..1afd6b0c7 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -2408,7 +2408,7 @@ setup_parallel() { PTXDIST_OUTPUT_SYNC="${PTXDIST_OUTPUT_SYNC:-${PTXDIST_QUIET}}" if [ "${PTXDIST_OUTPUT_SYNC}" == "1" ]; then - if make -h | grep -q -- --output-sync; then + if "${PTXCONF_SETUP_HOST_MAKE}" -h | grep -q -- --output-sync; then PTXDIST_OUTPUT_SYNC="--output-sync=" fi fi |