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