summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-05-01 17:35:33 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-01 17:35:33 +0200
commit606d3e377565732c1ad369eede2cda8be07b8f8c (patch)
treeddffa87acc0fa49f90aaf63e6f724a2cb1de8554
parent240a6fa76541bd9f3c52ec4499c8ad4af6e0110d (diff)
downloadptxdist-606d3e377565732c1ad369eede2cda8be07b8f8c.tar.gz
ptxdist-606d3e377565732c1ad369eede2cda8be07b8f8c.tar.xz
ptxd_install_file_strip: strip .GCC.command.line from kernel modules
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--scripts/lib/ptxd_make_xpkg_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh
index 5ba404e41..b7a9454f0 100644
--- a/scripts/lib/ptxd_make_xpkg_pkg.sh
+++ b/scripts/lib/ptxd_make_xpkg_pkg.sh
@@ -256,7 +256,7 @@ ptxd_install_file_strip() {
local dst="${1}"
case "${strip:-y}" in
- k) strip_cmd=( "${CROSS_STRIP}" --strip-debug ) ;;
+ k) strip_cmd=( "${CROSS_STRIP}" --strip-debug -R .GCC.command.line ) ;;
y) strip_cmd=( "${CROSS_STRIP}" -R .note -R .comment -R .GCC.command.line ) ;;
esac