diff options
author | Amerigo Wang <amwang@redhat.com> | 2009-06-04 22:12:09 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-06-09 16:37:43 -0400 |
commit | cefdff4b4d5ba3f9b7eee2c1c1827553794cb465 (patch) | |
tree | 94e09084e85752710668428d09a9b0a77aa01d2c /scripts | |
parent | fd6c3a8dc44329d3aff9a578b5120982f63711ee (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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/headers.sh | 7 |
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 | ||
19 | drop="generic um ppc sparc64 cris" | ||
20 | |||
21 | archs=$(ls ${srctree}/arch) | 18 | archs=$(ls ${srctree}/arch) |
22 | 19 | ||
23 | for arch in ${archs}; do | 20 | for 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 | *) |