3 rm -f *.aml
*.asl
*.dsl
*.log
8 ASL_COMPILER
="../../generate/unix/bin/iasl"
13 echo "Using $ASL_COMPILER"
16 # Create and compile the terse (normal) templates just
17 # to ensure that they will emit and compile
19 $ASL_COMPILER -T ALL
> /dev
/null
2>&1
20 $ASL_COMPILER *.asl
> /dev
/null
2>&1
22 rm -f *.aml
*.asl
*.dsl
*.log
24 # Create the templates (use verbose mode)
26 $ASL_COMPILER -vt -T ALL
> /dev
/null
2>&1
28 # Compile the templates
30 $ASL_COMPILER *.asl
> /dev
/null
2>&1
32 # Disassemble the compiled templates
34 $ASL_COMPILER -d *.aml
> /dev
/null
2>&1
39 # Compare templates to compiled/disassembled templates
42 if [ "$f" != "$0" ] && [ "$f" != "Makefile" ]; then
43 sig
=`echo $f | awk -F. '{print $1}'`
45 # Ignore differences in the comment/header field
47 diff -pu -I" \*" $sig.asl
$sig.dsl
>> diff.log