The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/config/always-arch.m4

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 dnl #
    2 dnl # Set the target cpu architecture.  This allows the
    3 dnl # following syntax to be used in a Makefile.am.
    4 dnl #
    5 dnl # if TARGET_CPU_POWERPC
    6 dnl # ...
    7 dnl # else
    8 dnl # ...
    9 dnl # endif
   10 dnl #
   11 AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_ARCH], [
   12         case $target_cpu in
   13         i?86)
   14                 TARGET_CPU=i386
   15                 ;;
   16         amd64|x86_64)
   17                 TARGET_CPU=x86_64
   18                 ;;
   19         powerpc*)
   20                 TARGET_CPU=powerpc
   21                 ;;
   22         aarch64*)
   23                 TARGET_CPU=aarch64
   24                 ;;
   25         sparc64)
   26                 TARGET_CPU=sparc64
   27                 ;;
   28         *)
   29                 TARGET_CPU=$target_cpu
   30                 ;;
   31         esac
   32 
   33         AM_CONDITIONAL([TARGET_CPU_AARCH64], test $TARGET_CPU = aarch64)
   34         AM_CONDITIONAL([TARGET_CPU_X86_64], test $TARGET_CPU = x86_64)
   35         AM_CONDITIONAL([TARGET_CPU_POWERPC], test $TARGET_CPU = powerpc)
   36         AM_CONDITIONAL([TARGET_CPU_SPARC64], test $TARGET_CPU = sparc64)
   37 ])

Cache object: e354b57bf1a5412da5c4067490afa2f6


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.