2018-01-16 23:38:17 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
CPP='cpp -undef -E -P crash_dump.policy.def'
|
|
|
|
$CPP -D__arm__ -o crash_dump.arm.policy
|
|
|
|
$CPP -D__aarch64__ -D__LP64__ -o crash_dump.arm64.policy
|
2022-10-12 14:32:55 +00:00
|
|
|
$CPP -D__riscv -D__LP64__ -o crash_dump.riscv64.policy
|
2018-01-16 23:38:17 +00:00
|
|
|
$CPP -D__i386__ -o crash_dump.x86.policy
|
|
|
|
$CPP -D__x86_64__ -D__LP64__ -o crash_dump.x86_64.policy
|