lkml.org 
[lkml]   [2012]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] modules: don't call eu-strip if it doesn't exist.
Date
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost
index 90b1bb1..2a4d1a1 100644
--- a/scripts/Makefile.modpost
+++ b/scripts/Makefile.modpost
@@ -165,11 +165,13 @@ endif

# We strip the module as best we can - note that using both strip and eu-strip
# results in a smaller module than using either alone.
+EU_STRIP = $(shell which eu-strip || echo true)
+
quiet_cmd_sign_ko_stripped_ko_unsigned = STRIP [M] $@
cmd_sign_ko_stripped_ko_unsigned = \
cp $< $@ && \
strip -x -g $@ && \
- eu-strip $@
+ $(EU_STRIP) $@

ifeq ($(SIGN_MODULES),1)


\
 
 \ /
  Last update: 2012-09-28 09:01    [W:0.151 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site