summaryrefslogtreecommitdiffstats
path: root/src/interface/linux/linux_nap.c
diff options
context:
space:
mode:
authorMichael Brown2013-04-06 12:27:27 +0200
committerMichael Brown2013-04-06 12:33:34 +0200
commit0e2ba15a5831fb6d5ddecfb56cb5e927a94bcf95 (patch)
treea4c9185c0d95de15539e1f71aef5705b24209b27 /src/interface/linux/linux_nap.c
parent[efi] Fetch device path for loaded image during initialisation (diff)
downloadipxe-0e2ba15a5831fb6d5ddecfb56cb5e927a94bcf95.tar.gz
ipxe-0e2ba15a5831fb6d5ddecfb56cb5e927a94bcf95.tar.xz
ipxe-0e2ba15a5831fb6d5ddecfb56cb5e927a94bcf95.zip
[settings] Expose build architecture and platform via settings
Expose the build architecture (e.g. "i386" or "x86_64") via ${buildarch} and the firmware platform (e.g. "pcbios" or "efi") via ${platform}. These settings directly expose the ARCH and PLATFORM variables from the Makefile. Note that the build architecture reflects the architecture for which iPXE was compiled, not the architecture on which iPXE is currently running. The "cpuid" command can be used to detect a 64-bit system at runtime. Requested-by: James A. Peltier <jpeltier@sfu.ca> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_nap.c')
0 files changed, 0 insertions, 0 deletions