1
2                         Build EFI ACPICA Utilities
3
4The EFI porting of the ACPICA utilities can be built with GNU EFI and EDK2.
5However, the porting has only been tested in a Linux environment.
6
71. Build EFI ACPICA utilities with EDK2 (Linux)
8
9   In a Linux environment, you can build EFI ACPICA utilities by executing
10   the following commands (supposing you are using gcc-4.7):
11
12   # git clone https://github.com/tianocore/edk2
13   # git clone https://github.com/acpica/acpica
14   # cd edk2
15   # (cd BaseTools; make)
16   # source ./edksetup.sh
17   # ln -s ../acpica AcpiPkg
18   # AcpiPkg/generate/efi/edksetup.sh
19   # build -p AcpiPkg/AcpiPkg.dsc -t GCC47
20
21   You can find built EFI binaries (e.x., acpidump.efi) in the following
22   folders:
23     Build/Acpi/DEBUG_GCC47/IA32: i386 targets
24     Build/Acpi/DEBUG_GCC47/X64: x86_64 targets
25
262. Build EFI ACPICA utilities with GNU EFI (Linux)
27
28   In a Linux environment, you can build EFI ACPICA utilities by executing
29   the following commands:
30
31   # apt-get install gnu-efi
32   # git clone https://github.com/acpica/acpica
33   # cd acpica
34   # make OS=efi
35
36   You can find built EFI binaries (e.x., acpidump.efi) in the following
37   folder:
38     generate/efi/bin
39   It contains i386 targets if it is built on an i386 host, or it contains
40   x86_64 targets if it is built on a x86_64 host.
41