diff options
| author | Michael Brown | 2021-05-02 13:35:37 +0200 |
|---|---|---|
| committer | Michael Brown | 2021-05-02 13:38:03 +0200 |
| commit | 1dfc05622d183213c55b49c3ea4f4fd5c7bd6253 (patch) | |
| tree | 724e8e0d793670646091499960c96119218e5a36 /src/config | |
| parent | [cloud] Autodetect CPU architecture from AMI disk image (diff) | |
| download | ipxe-1dfc05622d183213c55b49c3ea4f4fd5c7bd6253.tar.gz ipxe-1dfc05622d183213c55b49c3ea4f4fd5c7bd6253.tar.xz ipxe-1dfc05622d183213c55b49c3ea4f4fd5c7bd6253.zip | |
[cloud] Attempt to include CPUID_SETTINGS only for x86 builds
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/cloud/settings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/cloud/settings.h b/src/config/cloud/settings.h index 34deeb070..c9d6bdc93 100644 --- a/src/config/cloud/settings.h +++ b/src/config/cloud/settings.h @@ -1,4 +1,6 @@ /* It can often be useful to know the CPU on which a cloud instance is * running (e.g. to isolate problems with Azure AMD instances). */ +#if defined ( __i386__ ) || defined ( __x86_64__ ) #define CPUID_SETTINGS +#endif |
