Re: [PATCH] Compress kernel modules on installation.

From: Jan Engelhardt
Date: Sun Jan 25 2009 - 13:02:36 EST



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/