pc-bios/s390-ccw: use STRIP variable in Makefile
commitc68f4503e08ea54405660897fba7c125d3953021
authorGreg Kurz <groug@kaod.org>
Wed, 31 May 2017 13:09:37 +0000 (31 15:09 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 6 Jun 2017 08:50:40 +0000 (6 10:50 +0200)
tree6e1e139574510ded0d7240304bb94bcb043560a0
parent4e19b57b0e335fdaf2cf3f056b327ee6717dec7e
pc-bios/s390-ccw: use STRIP variable in Makefile

The docker-run-test-build@debian-s390x-cross target fails with:

strip --strip-unneeded s390-ccw.elf -o s390-ccw.img
strip: Unable to recognise the format of the input file `s390-ccw.elf'

The configure script defines a STRIP makefile variable whose default
value is ${cross_prefix}strip. Let's use it.

We default to using the non-prefixed strip command in case --enable-debug
or --disable-strip was passed to configure during a regular build.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <149623617700.4947.12490877660892961664.stgit@bahia.lan>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
pc-bios/s390-ccw/Makefile