diff options
author | Kay Sievers <kay@vrfy.org> | 2015-02-08 12:25:35 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2015-02-17 14:36:59 +0100 |
commit | 0fa2cac4f0cdefaf1addd7f1fe0fd8113db9360b (patch) | |
tree | e2ddad77e8b9afe1121a54eea28add1846d9aa6b /m4/arch.m4 | |
parent | 484adfd914504cd7e95867cea20ca7af71b888f2 (diff) |
sd-boot: add EFI boot manager and stub loader
Diffstat (limited to 'm4/arch.m4')
-rw-r--r-- | m4/arch.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/m4/arch.m4 b/m4/arch.m4 new file mode 100644 index 0000000000..f17b4278eb --- /dev/null +++ b/m4/arch.m4 @@ -0,0 +1,13 @@ + +dnl SET_ARCH(ARCHNAME, PATTERN) +dnl +dnl Define ARCH_<archname> condition if the pattern match with the current +dnl architecture +dnl +AC_DEFUN([SET_ARCH], [ + cpu_$1=false + case "$host" in + $2) cpu_$1=true ;; + esac + AM_CONDITIONAL(AS_TR_CPP(ARCH_$1), [test "x$cpu_$1" = xtrue]) +]) |