You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
333 B
14 lines
333 B
#!/bin/bash
|
|
|
|
CLEAN_HEADER=../../../bionic/libc/kernel/tools/clean_header.py
|
|
ORIGINAL=original-kernel-headers
|
|
NEW=kernel-headers
|
|
OPTS=-k$ORIGINAL
|
|
|
|
HEADERS="linux/msm_ion.h linux/msm_mdp.h linux/msm_rotator.h linux/msm_kgsl.h"
|
|
|
|
for HEADER in $HEADERS; do
|
|
echo $HEADER
|
|
$CLEAN_HEADER $OPTS $ORIGINAL/$HEADER > $NEW/$HEADER
|
|
done
|