Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
skeleton
/
1f26b5e502023161ba7c24f94a33e20d56b43d32
/
.
/
objects
/
pflash
/
get_arch.sh
blob: 18a5cef25bdc609724b9d24456fdd66062ca1222 [
file
] [
log
] [
blame
]
#!/bin/sh
echo
"#if defined(__powerpc__)
echo -n ARCH_POWERPC
#elif defined(__x86_64__) || defined(__i386__)
echo -n ARCH_X86
#elif defined(__arm__)
echo -n ARCH_ARM
#else
echo -n ARCH_UNKNOWN
#endif"
|
$1cpp
|
sh