Skip to content

Commit

Permalink
kbuild: clean up scripts/headers.sh
Browse files Browse the repository at this point in the history
'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 <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
  • Loading branch information
Amerigo Wang authored and sravnborg committed Jun 9, 2009
1 parent fd6c3a8 commit cefdff4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/headers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,12 @@ do_command()
fi
}

# Do not try this architecture
drop="generic um ppc sparc64 cris"

archs=$(ls ${srctree}/arch)

for arch in ${archs}; do
case ${arch} in
um) # no userspace export
;;
ppc) # headers exported by powerpc
;;
sparc64) # headers exported by sparc
;;
cris) # headers export are known broken
;;
*)
Expand Down

0 comments on commit cefdff4

Please sign in to comment.