diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-01-22 16:54:20 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-01-22 17:45:34 +0000 |
commit | 2061d658b3d199ec84976e6a573f68424369be69 (patch) | |
tree | 0645e9e632cade65e7c9bddd5a4dce313c35b8ef /src/net/udp/dhcp.c | |
parent | 2ef5f5e05efa3ab29a207b6641b0ac6afefd3f0b (diff) | |
download | ipxe-2061d658b3d199ec84976e6a573f68424369be69.tar.gz |
[dhcp] Simplify platform-specific client architecture definitions
Move the platform-specific DHCP client architecture definitions to
header files of the form <ipxe/$(PLATFORM)/dhcparch.h>. This
simplifies the directory structure and allows the otherwise unused
arch/$(ARCH)/include/$(PLATFORM) to be removed from the include
directory search path, which avoids the confusing situation in which a
header file may potentially be accessed through more than one path.
For Linux userspace binaries on any architecture, use the EFI values
for that architecture by delegating to the EFI header file. This
avoids the need to explicitly select values for Linux userspace
binaries for each architecture.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/udp/dhcp.c')
-rw-r--r-- | src/net/udp/dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index a335a778a..b7b84e7db 100644 --- a/src/net/udp/dhcp.c +++ b/src/net/udp/dhcp.c @@ -46,7 +46,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include <ipxe/dhcp.h> #include <ipxe/dhcpopts.h> #include <ipxe/dhcppkt.h> -#include <ipxe/dhcp_arch.h> +#include <ipxe/dhcparch.h> #include <ipxe/features.h> #include <config/dhcp.h> |