Skip to contentSkip to conversation

kbuild fixes for -rc1

GIT PULL Sam Ravnborg 1 participant 1 message Jul 31, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Linus.

Please pull following fixes that has accumulated over the last week or so. Full diff below.

The diffstat does not tell the true story as the difstat shows mainly the content changes in generated files.

PS. All individuals from change logs are included in the mail.

Sam

The following changes since commit 660fc1f4d88b0f5e4bb936e4a5a9b95b70df9e58:
Linus Torvalds (1):
Merge branch 'merge' of git://git.kernel.org/.../benh/powerpc

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes.git master

Adrian Bunk (3):
kconfig: scripts/kconfig/zconf.l: add %option noinput
kbuild: scripts/genksyms/lex.l: add %option noinput
kbuild: scripts/ver_linux: don't set PATH

Andreas Gruenbacher (2):
kbuild: genksyms parser: fix the __attribute__ rule
kbuild: genksyms: Include extern information in dumps

Sam Ravnborg (1):
kbuild: fix O=... build of um

jkacur (1):
Kconfig/init: change help text to match default value

 Makefile                            |    2 +-
 init/Kconfig                        |    2 +-
 scripts/genksyms/genksyms.c         |    2 +
 scripts/genksyms/lex.c_shipped      |  133 +++++++++++++++++++++-----------
 scripts/genksyms/lex.l              |    2 +
 scripts/genksyms/parse.c_shipped    |  144 +++++++++++++++++-----------------
 scripts/genksyms/parse.y            |    2 +-
 scripts/kconfig/lex.zconf.c_shipped |   86 +++++++++++++++++----
 scripts/kconfig/zconf.l             |    1 +
 scripts/ver_linux                   |    1 -
 10 files changed, 238 insertions(+), 137 deletions(-)
Makefile +1 -1
index aa527a4..f156f40 100644
@@ -930,7 +930,7 @@ ifneq ($(KBUILD_SRC),)
 		/bin/false; \
 	fi;
 	$(Q)if [ ! -d include2 ]; then mkdir -p include2; fi;
-	$(Q)if [ -e $(srctree)/include/asm-$(SRCARCH)/system.h ]; then  \
+	$(Q)if [ -e $(srctree)/include/asm-$(SRCARCH)/errno.h ]; then  \
 	    ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm;     \
 	    fi
 endif
init/Kconfig +1 -1
index 250e02c..7e6dae1 100644
@@ -522,7 +522,7 @@ config CC_OPTIMIZE_FOR_SIZE
 	  Enabling this option will pass "-Os" instead of "-O2" to gcc
 	  resulting in a smaller kernel.
 
-	  If unsure, say N.
+	  If unsure, say Y.
 
 config SYSCTL
 	bool
scripts/genksyms/genksyms.c +2 -0
index 4f8a300..c249274 100644
@@ -545,6 +545,8 @@ int main(int argc, char **argv)
 			}
 			fputs(sym->name, dumpfile);
 			putc(' ', dumpfile);
+			if (sym->is_extern)
+				fputs("extern ", dumpfile);
 			print_list(dumpfile, sym->defn);
 			putc('\n', dumpfile);
 
scripts/genksyms/lex.c_shipped +86 -47

333 lines not on this page · raw message

scripts/genksyms/lex.l +2 -0
index 5e544a0..fe50ff9 100644
@@ -62,6 +62,8 @@ MC_TOKEN		([~%^&*+=|<>/-]=)|(&&)|("||")|(->)|(<<)|(>>)
 /* We don't do multiple input files.  */
 %option noyywrap
 
+%option noinput
+
 %%
 
 
scripts/genksyms/parse.c_shipped +72 -72

209 lines not on this page · raw message

scripts/genksyms/parse.y +1 -1
index 408cdf8..10d7dc7 100644
@@ -446,7 +446,7 @@ member_bitfield_declarator:
 
 attribute_opt:
 	/* empty */					{ $$ = NULL; }
-	| ATTRIBUTE_PHRASE
+	| attribute_opt ATTRIBUTE_PHRASE
 	;
 
 asm_definition:
scripts/kconfig/lex.zconf.c_shipped +72 -14

172 lines not on this page · raw message

scripts/kconfig/zconf.l +1 -0
index 4cea5c8..5164ef7 100644
@@ -1,5 +1,6 @@
 %option backup nostdinit noyywrap never-interactive full ecs
 %option 8bit backup nodefault perf-report perf-report
+%option noinput
 %x COMMAND HELP STRING PARAM
 %{
 /*
scripts/ver_linux +0 -1
index 7ac0e30..dbb3037 100755
@@ -4,7 +4,6 @@
 # /bin /sbin /usr/bin /usr/sbin /usr/local/bin, but it may
 # differ on your system.
 #
-PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:$PATH
 echo 'If some fields are empty or look unusual you may have an old version.'
 echo 'Compare to the current minimal requirements in Documentation/Changes.'
 echo ' '