aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2009-06-04 22:12:09 -0400
committerSam Ravnborg <sam@ravnborg.org>2009-06-09 16:37:43 -0400
commitcefdff4b4d5ba3f9b7eee2c1c1827553794cb465 (patch)
tree94e09084e85752710668428d09a9b0a77aa01d2c
parentfd6c3a8dc44329d3aff9a578b5120982f63711ee (diff)
kbuild: clean up scripts/headers.sh
'drop' variable is unused. 'ppc' and 'sparc64' directories don't exist in arch/, and I think their headers can be well exported now, so just remove them. Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rwxr-xr-xscripts/headers.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/headers.sh b/scripts/headers.sh
index d33426f866db..0308ecc10d5b 100755
--- a/scripts/headers.sh
+++ b/scripts/headers.sh
@@ -15,19 +15,12 @@ do_command()
15 fi 15 fi
16} 16}
17 17
18# Do not try this architecture
19drop="generic um ppc sparc64 cris"
20
21archs=$(ls ${srctree}/arch) 18archs=$(ls ${srctree}/arch)
22 19
23for arch in ${archs}; do 20for arch in ${archs}; do
24 case ${arch} in 21 case ${arch} in
25 um) # no userspace export 22 um) # no userspace export
26 ;; 23 ;;
27 ppc) # headers exported by powerpc
28 ;;
29 sparc64) # headers exported by sparc
30 ;;
31 cris) # headers export are known broken 24 cris) # headers export are known broken
32 ;; 25 ;;
33 *) 26 *)