Commit cefdff4b authored by Amerigo Wang's avatar Amerigo Wang Committed by Sam Ravnborg

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: default avatarWANG Cong <amwang@redhat.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent fd6c3a8d
...@@ -15,19 +15,12 @@ do_command() ...@@ -15,19 +15,12 @@ do_command()
fi fi
} }
# Do not try this architecture
drop="generic um ppc sparc64 cris"
archs=$(ls ${srctree}/arch) archs=$(ls ${srctree}/arch)
for arch in ${archs}; do for arch in ${archs}; do
case ${arch} in case ${arch} in
um) # no userspace export um) # no userspace export
;; ;;
ppc) # headers exported by powerpc
;;
sparc64) # headers exported by sparc
;;
cris) # headers export are known broken cris) # headers export are known broken
;; ;;
*) *)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment