1 #!/bin/bash 2 3 CLEAN_HEADER=../../../bionic/libc/kernel/tools/clean_header.py 4 ORIGINAL=original-kernel-headers 5 NEW=kernel-headers 6 OPTS=-k$ORIGINAL 7 8 HEADERS="linux/msm_ion.h linux/msm_mdp.h linux/msm_rotator.h linux/msm_kgsl.h" 9 10 for HEADER in $HEADERS; do 11 echo $HEADER 12 $CLEAN_HEADER $OPTS $ORIGINAL/$HEADER > $NEW/$HEADER 13 done 14