diff options
author | Paul Mackerras <paulus@samba.org> | 2006-07-31 20:37:25 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-07-31 20:37:25 -0400 |
commit | 57cad8084e0837e0f2c97da789ec9b3f36809be9 (patch) | |
tree | e9c790afb4286f78cb08d9664f58baa7e876fe55 /scripts | |
parent | cb18bd40030c879cd93fef02fd579f74dbab473d (diff) | |
parent | 49b1e3ea19b1c95c2f012b8331ffb3b169e4c042 (diff) |
Merge branch 'merge'
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Kbuild.include | 7 | ||||
-rwxr-xr-x | scripts/kernel-doc | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 2180c88cfe89..f01132263535 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
@@ -85,6 +85,13 @@ cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh \ | |||
85 | cc-ifversion = $(shell if [ $(call cc-version, $(CC)) $(1) $(2) ]; then \ | 85 | cc-ifversion = $(shell if [ $(call cc-version, $(CC)) $(1) $(2) ]; then \ |
86 | echo $(3); fi;) | 86 | echo $(3); fi;) |
87 | 87 | ||
88 | # ld-option | ||
89 | # Usage: ldflags += $(call ld-option, -Wl$(comma)--hash-style=both) | ||
90 | ld-option = $(shell if $(CC) $(1) \ | ||
91 | -nostdlib -o ldtest$$$$.out -xc /dev/null \ | ||
92 | > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi; \ | ||
93 | rm -f ldtest$$$$.out) | ||
94 | |||
88 | ### | 95 | ### |
89 | # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj= | 96 | # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj= |
90 | # Usage: | 97 | # Usage: |
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index f9460a6218de..c9ca0c23bd91 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
@@ -1518,6 +1518,7 @@ sub dump_function($$) { | |||
1518 | $prototype =~ s/^asmlinkage +//; | 1518 | $prototype =~ s/^asmlinkage +//; |
1519 | $prototype =~ s/^inline +//; | 1519 | $prototype =~ s/^inline +//; |
1520 | $prototype =~ s/^__inline__ +//; | 1520 | $prototype =~ s/^__inline__ +//; |
1521 | $prototype =~ s/__devinit +//; | ||
1521 | $prototype =~ s/^#define +//; #ak added | 1522 | $prototype =~ s/^#define +//; #ak added |
1522 | $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//; | 1523 | $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//; |
1523 | 1524 | ||