From 0fa2cac4f0cdefaf1addd7f1fe0fd8113db9360b Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 8 Feb 2015 12:25:35 +0100 Subject: sd-boot: add EFI boot manager and stub loader --- m4/arch.m4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 m4/arch.m4 (limited to 'm4') 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_ 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]) +]) -- cgit v1.2.3-54-g00ecf