| Summary: | sys-devel/make-4.0 - ? | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ulenrich <ulenrich> |
| Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
We can't fix your script. @Jeroen The script runs fine with make-3.82-r4 make is supposed to handle these two parameters with '=' by kernel.org But make-4 only considers one parameter. I don't know if kernel.org developers ignore standards and if make-4 is handling standards correctly. This was a warning about make-4 to you to look into it and perhaps file a bug upstream to either kernel.org or make bugtracker. (In reply to Ulenrich from comment #0) > But make-4 didn't respect "V=0" which is documented at > /usr/src/linux/Makefile. > The result was multiple lines in my variable $n What output? Sorry for not answering such a long period. I found others having similar issues with make-4.0: http://lists.gnu.org/archive/html/bug-make/2013-12/msg00015.html http://lists.gnu.org/archive/html/bug-make/2013-12/msg00019.html |
This is how my kernel script begins --- #!/bin/bash U="ral" B="/usr/src/build/linux" [ ! -e "/usr/src/linux/.config" ] \ && echo "$0 : need /usr/linux/.config" && exit 2 [ ! -d $B ] \ && mkdir -p $B \ || { echo "$0 : already exists $B" ; exit ; } cd /usr/src/linux || exit 3 mv .config ${B}/.config make mrproper make V=0 O=${B} oldconfig n=$(make V=0 O=${B} kernelrelease) ..... --- I further use $n to rename $B build directory to the release name, where I keep headers for later out of tree module builds (vbox nvidia). But make-4 didn't respect "V=0" which is documented at /usr/src/linux/Makefile. The result was multiple lines in my variable $n