lkml.org 
[lkml]   [2009]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Compress kernel modules on installation.

On Sunday 2009-01-25 17:51, Steve Brokenshire wrote:
>+
>+quiet_cmd_modules_install = INSTALL $@
>+ cmd_modules_install = mkdir -p $(2); \
>+ cp $@ $(2) ; \
>+ $(mod_strip_cmd) $(2)/$(notdir $@)
>+
>+quiet_cmd_modules_compress_gzip = COMPRESS $@
>+ cmd_modules_compress_gzip = gzip $(MODCOMPOPT) -c \
>+ $(2)/`basename $@` \
>+ > $(2)/`basename $@`.gz; \
>+ rm $(2)/`basename $@`

That is *three* extra shell invocations you got there
for something make can compute itself using $(@F) iirc.


\
 
 \ /
  Last update: 2009-01-25 19:05    [W:0.096 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site