a/Makefile b/Makefile
> index ed8bd815e8a3..0e06db5ed9d8 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1779,10 +1779,8 @@ $(MODORDER): descend
> PHONY += modules_install
> modules_install: _emodinst_ _emodinst_post
>
> -install-dir := $(if $(INSTALL_MOD_DIR),$(INSTALL_MOD_DIR),extr
+= modules_install
modules_install: _emodinst_ _emodinst_post
-install-dir := $(if $(INSTALL_MOD_DIR),$(INSTALL_MOD_DIR),extra)
PHONY += _emodinst_
_emodinst_:
- $(Q)mkdir -p $(MODLIB)/$(install-dir)
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
PHONY += _emodinst_post
On Sat, Mar 16, 2019 at 1:25 AM Douglas Anderson wrote:
>
> This reverts commit caf6fe91ddf62a96401e21e9b7a07227440f4185.
>
> The commit was fine but is no longer needed as of commit 3a2429e1faf4
> ("kbuild: change if_changed_rule for multi-line recipe"). Let's go
> back to using ";" to be
This reverts commit caf6fe91ddf62a96401e21e9b7a07227440f4185.
The commit was fine but is no longer needed as of commit 3a2429e1faf4
("kbuild: change if_changed_rule for multi-line recipe"). Let's go
back to using ";" to be consistent.
For some discussion, see:
ith less complexity.
> > > >
> > > > Specifically I observed that by timing the parsing stage of the
> > > > Makefile by adding statements like this to the beginning and end of
> > > > the Makefile:
> > > > ZZZ := $(shell echo "$$(dat
> the Makefile:
> > > ZZZ := $(shell echo "$$(date '+%T.%N'): ..." >> /tmp/timing.txt)
> > >
> > > ...that three targets were spending 3 seconds each parsing the
> > > Makefile in my environment (building a Chrome OS kernel with clang)
> &
e of the
> > Makefile by adding statements like this to the beginning and end of
> > the Makefile:
> > ZZZ := $(shell echo "$$(date '+%T.%N'): ..." >> /tmp/timing.txt)
> >
> > ...that three targets were spending 3 seconds each parsing the
> > Makef
xt)
>
> ...that three targets were spending 3 seconds each parsing the
> Makefile in my environment (building a Chrome OS kernel with clang)
> when it felt like they ought to be quick. These were: install,
> modules_install and kernelrelease
>
> I saw timings that
this to the beginning and end of
the Makefile:
ZZZ := $(shell echo "$$(date '+%T.%N'): ..." >> /tmp/timing.txt)
...that three targets were spending 3 seconds each parsing the
Makefile in my environment (building a Chrome OS kernel with clang)
when it felt like they ought to b
On Tue, Feb 05, 2019 at 11:30:53AM +0530, Bharath Vedartham wrote:
> Hi all,
>
> I am unable to execute make modules_install install.
> I get the following error:
Could you show the complete commands you are trying please
thanks,
Tobin.
Hi all,
I am unable to execute make modules_install install.
I get the following error:
ln: target 'linux-00096-gd1aa1a8/source' is not a directory
Makefile:1281: recipe for target '_modinst_' failed
make[1]: *** [_modinst_] Error 1
Makefile:296: recipe for target '__build_one_by_one' failed
2018-09-07 8:37 GMT+09:00 Randy Dunlap :
> From: Randy Dunlap
>
> If there is no System.map file for "make modules_install",
> scripts/depmod.sh will silently exit with success, having done
> nothing. Since this is an unexpected situation, change it to
> report a
2018-09-07 8:37 GMT+09:00 Randy Dunlap :
> From: Randy Dunlap
>
> If there is no System.map file for "make modules_install",
> scripts/depmod.sh will silently exit with success, having done
> nothing. Since this is an unexpected situation, change it to
> report a
From: Randy Dunlap
If there is no System.map file for "make modules_install",
scripts/depmod.sh will silently exit with success, having done
nothing. Since this is an unexpected situation, change it to
report a Warning for the missing file. The behavior is not
changed except for t
From: Randy Dunlap
If there is no System.map file for "make modules_install",
scripts/depmod.sh will silently exit with success, having done
nothing. Since this is an unexpected situation, change it to
report a Warning for the missing file. The behavior is not
changed except for t
On 09/05/2018 12:17 AM, Masahiro Yamada wrote:
> Hi Randy,
>
> 2018-09-01 7:33 GMT+09:00 Randy Dunlap :
>> From: Randy Dunlap
>>
>> If there is no System.map file for "make modules_install",
>> scripts/depmod.sh will silently exit w
On 09/05/2018 12:17 AM, Masahiro Yamada wrote:
> Hi Randy,
>
> 2018-09-01 7:33 GMT+09:00 Randy Dunlap :
>> From: Randy Dunlap
>>
>> If there is no System.map file for "make modules_install",
>> scripts/depmod.sh will silently exit w
Hi Randy,
2018-09-01 7:33 GMT+09:00 Randy Dunlap :
> From: Randy Dunlap
>
> If there is no System.map file for "make modules_install",
> scripts/depmod.sh will silently exit with success, having done
> nothing. Since this is an unexpected situation, change
Hi Randy,
2018-09-01 7:33 GMT+09:00 Randy Dunlap :
> From: Randy Dunlap
>
> If there is no System.map file for "make modules_install",
> scripts/depmod.sh will silently exit with success, having done
> nothing. Since this is an unexpected situation, change
From: Randy Dunlap
If there is no System.map file for "make modules_install",
scripts/depmod.sh will silently exit with success, having done
nothing. Since this is an unexpected situation, change it to
report a Warning for the missing file. The behavior is not
changed except for t
From: Randy Dunlap
If there is no System.map file for "make modules_install",
scripts/depmod.sh will silently exit with success, having done
nothing. Since this is an unexpected situation, change it to
report a Warning for the missing file. The behavior is not
changed except for t
2018-08-29 4:59 GMT+09:00 Randy Dunlap :
> From: Randy Dunlap
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status:
>
> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
> This is probabl
2018-08-29 4:59 GMT+09:00 Randy Dunlap :
> From: Randy Dunlap
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status:
>
> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
> This is probabl
;
>
> Added for v4.
Thanks.
>> BTW, if System.map is missing, depmod is silently skipped.
>>
>>
>> I think if System.map is missing, a user is doing something wrong,
>> but you could do like this:
>>
>> $ make mrproper
>>[snip]
&g
;
>
> Added for v4.
Thanks.
>> BTW, if System.map is missing, depmod is silently skipped.
>>
>>
>> I think if System.map is missing, a user is doing something wrong,
>> but you could do like this:
>>
>> $ make mrproper
>>[snip]
&g
From: Randy Dunlap
When $DEPMOD is not found, only print a warning instead of exiting
with an error message and error status:
Warning: 'make modules_install' requires /sbin/depmod. Please install it.
This is probably in the kmod package.
Change the Error to a Warning because "not all
From: Randy Dunlap
When $DEPMOD is not found, only print a warning instead of exiting
with an error message and error status:
Warning: 'make modules_install' requires /sbin/depmod. Please install it.
This is probably in the kmod package.
Change the Error to a Warning because "not all
; Could you add the motivation of this change
> (as Nikolaus reported) ?
>
> Without the reason recorded in git-log,
> somebody may wonder why this commit is useful.
>
Added for v4.
>
>> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
>&
; Could you add the motivation of this change
> (as Nikolaus reported) ?
>
> Without the reason recorded in git-log,
> somebody may wonder why this commit is useful.
>
Added for v4.
>
>> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
>&
d in git-log,
somebody may wonder why this commit is useful.
> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
> This is probably in the kmod package.
>
> Signed-off-by: Randy Dunlap
> Fixes: 934193a654c1 ("kbuild: verify that $DEPMOD is installe
d in git-log,
somebody may wonder why this commit is useful.
> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
> This is probably in the kmod package.
>
> Signed-off-by: Randy Dunlap
> Fixes: 934193a654c1 ("kbuild: verify that $DEPMOD is installe
Hi Randy,
> Am 23.08.2018 um 20:13 schrieb Randy Dunlap :
>
> From: Randy Dunlap
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status.
>
> Warning: 'make modules_install' requires /sbin/depmod. Please instal
Hi Randy,
> Am 23.08.2018 um 20:13 schrieb Randy Dunlap :
>
> From: Randy Dunlap
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status.
>
> Warning: 'make modules_install' requires /sbin/depmod. Please instal
From: Randy Dunlap
When $DEPMOD is not found, only print a warning instead of exiting
with an error message and error status.
Warning: 'make modules_install' requires /sbin/depmod. Please install it.
This is probably in the kmod package.
Signed-off-by: Randy Dunlap
Fixes: 934193a654c1
From: Randy Dunlap
When $DEPMOD is not found, only print a warning instead of exiting
with an error message and error status.
Warning: 'make modules_install' requires /sbin/depmod. Please install it.
This is probably in the kmod package.
Signed-off-by: Randy Dunlap
Fixes: 934193a654c1
On Thu, Aug 23, 2018 at 10:52:39AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status.
>
> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
On Thu, Aug 23, 2018 at 10:52:39AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status.
>
> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
From: Randy Dunlap
When $DEPMOD is not found, only print a warning instead of exiting
with an error message and error status.
Warning: 'make modules_install' requires /sbin/depmod. Please install it.
This is probably in the kmod package.
Signed-off-by: Randy Dunlap
---
v2: add missing "e
From: Randy Dunlap
When $DEPMOD is not found, only print a warning instead of exiting
with an error message and error status.
Warning: 'make modules_install' requires /sbin/depmod. Please install it.
This is probably in the kmod package.
Signed-off-by: Randy Dunlap
---
v2: add missing "e
bae..832dd3d27f39 100644
--- a/Makefile
+++ b/Makefile
@@ -476,6 +476,12 @@ ifeq ($(KBUILD_EXTMOD),)
endif
endif
endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter module
($(KBUILD_EXTMOD),)
endif
endif
endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
+ mixed-targets := 1
+endif
+endif
ifeq ($(mixed-targets
kefile
@@ -495,6 +495,12 @@ ifeq ($(KBUILD_EXTMOD),)
endif
endif
endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
+ mixed-targets :=
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
+ mixed-targets := 1
+endif
+endif
ifeq ($(mixed-targets),1)
# ===
3,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>> endif
>> endif
>> endif
>> +# install and module_install need also be processed one by one
>> +ifneq ($(filter install,$(MAKECMDGOALS)),)
>> +ifneq ($(filter mod
e483 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>> endif
>> endif
>> endif
>> +# install and module_install need also be processed one by one
>> +ifneq ($(filter install,$(MAKE
module_install need also be processed one by one
> +ifneq ($(filter install,$(MAKECMDGOALS)),)
> +ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
> + mixed-targets := 1
> +endif
> +endif
>
> ifeq ($(mixed-targets),1)
> # ===
> endif
> endif
> endif
> +# install and module_install need also be processed one by one
> +ifneq ($(filter install,$(MAKECMDGOALS)),)
> +ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
> +
From: David Woodhouse
Signed-off-by: David Woodhouse
Signed-off-by: David Howells
---
scripts/Makefile.modinst |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9d8868..07650eeaaf06 100644
---
From: David Woodhouse david.woodho...@intel.com
Signed-off-by: David Woodhouse david.woodho...@intel.com
Signed-off-by: David Howells dhowe...@redhat.com
---
scripts/Makefile.modinst |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst
From: David Woodhouse
Signed-off-by: David Woodhouse
Signed-off-by: David Howells
---
scripts/Makefile.modinst |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9d8868..07650eeaaf06 100644
---
From: David Woodhouse david.woodho...@intel.com
Signed-off-by: David Woodhouse david.woodho...@intel.com
Signed-off-by: David Howells dhowe...@redhat.com
---
scripts/Makefile.modinst |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst
From: David Woodhouse
Signed-off-by: David Woodhouse
Signed-off-by: David Howells
---
scripts/Makefile.modinst |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9d8868..07650eeaaf06 100644
---
From: David Woodhouse david.woodho...@intel.com
Signed-off-by: David Woodhouse david.woodho...@intel.com
Signed-off-by: David Howells dhowe...@redhat.com
---
scripts/Makefile.modinst |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst
Signed-off-by: David Woodhouse
---
scripts/Makefile.modinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9..07650ee 100644
--- a/scripts/Makefile.modinst
+++ b/scripts/Makefile.modinst
@@ -22,7 +22,7 @@
On Tue, 2015-05-19 at 12:57 +, Woodhouse, David wrote:
> On Tue, 2015-05-19 at 07:45 -0400, Mimi Zohar wrote:
> >
> > /bin/sh: line 1: 22771 Segmentation fault (core dumped)
> > scripts/sign-file "sha256" "pkcs11:manufacturer=piv_II;id=%01"
> > ./signing_key.x509 /lib/modules/4.1.0-rc1
On Tue, 2015-05-19 at 07:45 -0400, Mimi Zohar wrote:
>
> /bin/sh: line 1: 22771 Segmentation fault (core dumped)
> scripts/sign-file "sha256" "pkcs11:manufacturer=piv_II;id=%01"
> ./signing_key.x509 /lib/modules/4.1.0-rc1
> -test+/kernel/net/ipv6/netfilter/ip6table_filter.ko
>
On Tue, 2015-05-19 at 06:40 +, Woodhouse, David wrote:
> On Mon, 2015-05-18 at 21:29 -0400, Mimi Zohar wrote:
> > On Fri, 2015-05-15 at 17:52 +0100, David Woodhouse wrote:
> > > Signed-off-by: David Woodhouse
> > With this patch, as expected the modules_in
On Mon, 2015-05-18 at 21:29 -0400, Mimi Zohar wrote:
> On Fri, 2015-05-15 at 17:52 +0100, David Woodhouse wrote:
> > Signed-off-by: David Woodhouse
>
> I assume the patch descriptions will be added before being upstreamed.
This patch aborts modules_install whe
On Mon, 2015-05-18 at 21:29 -0400, Mimi Zohar wrote:
On Fri, 2015-05-15 at 17:52 +0100, David Woodhouse wrote:
Signed-off-by: David Woodhouse david.woodho...@intel.com
I assume the patch descriptions will be added before being upstreamed.
This patch aborts modules_install when signing
On Tue, 2015-05-19 at 06:40 +, Woodhouse, David wrote:
On Mon, 2015-05-18 at 21:29 -0400, Mimi Zohar wrote:
On Fri, 2015-05-15 at 17:52 +0100, David Woodhouse wrote:
Signed-off-by: David Woodhouse david.woodho...@intel.com
With this patch, as expected the modules_install aborted
On Tue, 2015-05-19 at 12:57 +, Woodhouse, David wrote:
On Tue, 2015-05-19 at 07:45 -0400, Mimi Zohar wrote:
/bin/sh: line 1: 22771 Segmentation fault (core dumped)
scripts/sign-file sha256 pkcs11:manufacturer=piv_II;id=%01
./signing_key.x509 /lib/modules/4.1.0-rc1
Signed-off-by: David Woodhouse david.woodho...@intel.com
---
scripts/Makefile.modinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9..07650ee 100644
--- a/scripts/Makefile.modinst
+++ b/scripts/Makefile.modinst
On Tue, 2015-05-19 at 07:45 -0400, Mimi Zohar wrote:
/bin/sh: line 1: 22771 Segmentation fault (core dumped)
scripts/sign-file sha256 pkcs11:manufacturer=piv_II;id=%01
./signing_key.x509 /lib/modules/4.1.0-rc1
-test+/kernel/net/ipv6/netfilter/ip6table_filter.ko
/$(notdir $@) ; \
> -$(mod_sign_cmd) $(2)/$(notdir $@) $(patsubst %,|| true,$(KBUILD_EXTMOD))
> ; \
> +$(mod_sign_cmd) $(2)/$(notdir $@) $(patsubst %,|| true,$(KBUILD_EXTMOD))
> && \
> $(mod_compress_cmd) $(2)/$(notdir $@)
With this patch, as expected the mo
$@) ; \
-$(mod_sign_cmd) $(2)/$(notdir $@) $(patsubst %,|| true,$(KBUILD_EXTMOD))
; \
+$(mod_sign_cmd) $(2)/$(notdir $@) $(patsubst %,|| true,$(KBUILD_EXTMOD))
\
$(mod_compress_cmd) $(2)/$(notdir $@)
With this patch, as expected the modules_install aborted on failure. Is
there any way
Signed-off-by: David Woodhouse
---
scripts/Makefile.modinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9..07650ee 100644
--- a/scripts/Makefile.modinst
+++ b/scripts/Makefile.modinst
@@ -22,7 +22,7 @@
Signed-off-by: David Woodhouse david.woodho...@intel.com
---
scripts/Makefile.modinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9..07650ee 100644
--- a/scripts/Makefile.modinst
+++ b/scripts/Makefile.modinst
On Sun, Oct 12, 2014 at 12:40 PM, Willy Tarreau wrote:
> Hi,
>
> On Sun, Oct 12, 2014 at 11:50:59AM -0400, Andev wrote:
>> Hello Bertrand,
>>
>> Does this need any user space support? Cos currently on a debian
>> testing box(powerpc) enabling this options causes a boot hang while
>> mounting the
Hi,
On Sun, Oct 12, 2014 at 11:50:59AM -0400, Andev wrote:
> Hello Bertrand,
>
> Does this need any user space support? Cos currently on a debian
> testing box(powerpc) enabling this options causes a boot hang while
> mounting the root file system.
I suspect that your module-ini-tools/kmod are
), the following table
> shows observed disk space gain based on the allmodconfig .config :
>
>| time|
>+-+-+
>| manual .ko | make |
based on the allmodconfig .config :
| time|
+-+-+
| manual .ko | make | size | percent
| compression | modules_install | | gain
Hi,
On Sun, Oct 12, 2014 at 11:50:59AM -0400, Andev wrote:
Hello Bertrand,
Does this need any user space support? Cos currently on a debian
testing box(powerpc) enabling this options causes a boot hang while
mounting the root file system.
I suspect that your module-ini-tools/kmod are built
On Sun, Oct 12, 2014 at 12:40 PM, Willy Tarreau w...@1wt.eu wrote:
Hi,
On Sun, Oct 12, 2014 at 11:50:59AM -0400, Andev wrote:
Hello Bertrand,
Does this need any user space support? Cos currently on a debian
testing box(powerpc) enabling this options causes a boot hang while
mounting the
following table
> shows observed disk space gain based on the allmodconfig .config :
>
>| time|
>+-+-+
>| manual .ko | make |
Andi Kleen writes:
>> I understand your concern about this, but does is make sense to not use
>> -9 when then following files use gzip or other compression tools with -9 :
>
> Just because someone else makes mistakes doesn't mean that you should
> make them too.
To be fair, you didn't provide
Andi Kleen a...@firstfloor.org writes:
I understand your concern about this, but does is make sense to not use
-9 when then following files use gzip or other compression tools with -9 :
Just because someone else makes mistakes doesn't mean that you should
make them too.
To be fair, you
on the allmodconfig .config :
| time|
+-+-+
| manual .ko | make | size | percent
| compression | modules_install | | gain
> I understand your concern about this, but does is make sense to not use
> -9 when then following files use gzip or other compression tools with -9 :
Just because someone else makes mistakes doesn't mean that you should
make them too.
-Andi
--
To unsubscribe from this list: send the line
time|
+-+-+
| manual .ko | make | size | percent
| compression | modules_install | | gain
+-+-+--+
-| | 18.61s | 378M |
GZIP | 3m16s |
Hi,
D'ar meurzh 19 a viz Eost 2014 e 19 eur 55, « Rusty Russell » he deus skrivet :
> Andi Kleen writes:
> > Bertrand Jacquin writes:
> >>
> >> +# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
> >> +# after they are installed in agreement with
Andi Kleen writes:
> Bertrand Jacquin writes:
>>
>> +# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
>> +# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
>> +# or CONFIG_MODULE_COMPRESS_XZ.
>> +
>> +mod_compress_cmd = true
>> +ifdef
Hi,
D'ar meurzh 19 a viz Eost 2014 e 15 eur 17, « Andi Kleen » he deus skrivet :
> Bertrand Jacquin writes:
> >
> > +# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
> > +# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
> > +# or
Bertrand Jacquin writes:
>
> +# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
> +# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
> +# or CONFIG_MODULE_COMPRESS_XZ.
> +
> +mod_compress_cmd = true
> +ifdef CONFIG_MODULE_COMPRESS
> + ifdef
I understand your concern about this, but does is make sense to not use
-9 when then following files use gzip or other compression tools with -9 :
Just because someone else makes mistakes doesn't mean that you should
make them too.
-Andi
--
To unsubscribe from this list: send the line
Bertrand Jacquin be...@meleeweb.net writes:
+# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
+# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
+# or CONFIG_MODULE_COMPRESS_XZ.
+
+mod_compress_cmd = true
+ifdef CONFIG_MODULE_COMPRESS
+
Hi,
D'ar meurzh 19 a viz Eost 2014 e 15 eur 17, « Andi Kleen » he deus skrivet :
Bertrand Jacquin be...@meleeweb.net writes:
+# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
+# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
+# or
Andi Kleen a...@firstfloor.org writes:
Bertrand Jacquin be...@meleeweb.net writes:
+# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
+# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
+# or CONFIG_MODULE_COMPRESS_XZ.
+
+mod_compress_cmd =
Hi,
D'ar meurzh 19 a viz Eost 2014 e 19 eur 55, « Rusty Russell » he deus skrivet :
Andi Kleen a...@firstfloor.org writes:
Bertrand Jacquin be...@meleeweb.net writes:
+# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
+# after they are installed in agreement with
|
+-+-+
| manual .ko | make | size | percent
| compression | modules_install | | gain
+-+-+--+
-| | 18.61s | 378M |
GZIP | 3m16s | 3m37s
time|
+-+-+
| manual .ko | make | size | percent
| compression | modules_install | | gain
+-+-+--+
-| | 18.61s | 378M |
GZIP | 3m16s | 3m37s | 102M | 73.41%
XZ | 5m22s |
|
+-+-+
| manual .ko | make | size | percent
| compression | modules_install | | gain
+-+-+--+
-| | 18.61s | 378M |
GZIP | 3m16s | 3m37s | 102M | 73.41%
XZ | 5m22s | 5m39s
;>>>> +++ b/Makefile
>>>>> @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>>>>> endif
>>>>> endif
>>>>> endif
>>>>> +# install and module_install need also be processed one by one
>>>
modules_install,$(MAKECMDGOALS)),)
+ mixed-targets := 1
+endif
+endif
Note that this version does not enforce the ordering, it just avoids the
interleaved execution. It can be added if desired.
Hmm. This will fix 'make modules_install install' but will not fix
'make
gt;>>> 1 file changed, 6 insertions(+)
>>>>
>>>> diff --git a/Makefile b/Makefile
>>>> index 7680d7c..7e5e483 100644
>>>> --- a/Makefile
>>>> +++ b/Makefile
>>>> @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>>>>
t; index 7680d7c..7e5e483 100644
>>> --- a/Makefile
>>> +++ b/Makefile
>>> @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>>> endif
>>> endif
>>> endif
>>> +# install and module_install need also be processe
),)
endif
endif
endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
+ mixed-targets := 1
+endif
+endif
Note
--- a/Makefile
+++ b/Makefile
@@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
endif
endif
endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter modules_install,$(MAKECMDGOALS
3,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>> endif
>> endif
>> endif
>> +# install and module_install need also be processed one by one
>> +ifneq ($(filter install,$(MAKECMDGOALS)),)
>> +ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
module_install need also be processed one by one
> +ifneq ($(filter install,$(MAKECMDGOALS)),)
> +ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
> + mixed-targets := 1
> +endif
> +endif
Note that this version does not enforce the ordering, it ju
7680d7c..7e5e483 100644
--- a/Makefile
+++ b/Makefile
@@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
endif
endif
endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter modules_install
1 - 100 of 211 matches
Mail list logo