Andrew Benton wrote:
This works


cat $header | sed -e 's/\( \|(\|,\|\t\)\([us]\)\(8\|16\|32\|64\)/\1__\2\3/g' \
                          -e 's/\( \|(\|,\|\t\)__iomem /\1/g' \
                      -e '/#include <linux.config.h>/d' \
                      -e 's/#ifdef linux/#ifdef __linux__/g' \
                      -e 's/#ifndef linux/#ifndef __linux__/g' \
                         > $header.orig

Cool, Andrew.

I've confirmed it and made a patch that includes this new expression. Diffing the results vs the results of what's currently in the script shows no differences.

http://linuxfromscratch.org/~jhuntwork/headers-20060313-2.patch

--
JH
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to