From 06283a6401f652e709b7b27d02238d0c6f92cb0c Mon Sep 17 00:00:00 2001 From: Jason Hobbs Date: Wed, 31 Aug 2011 10:37:30 -0500 Subject: Add pxe command Add pxe command, which is intended to mimic PXELINUX functionality. 'pxe get' uses tftp to retrieve a file based on UUID, MAC address or IP address. 'pxe boot' interprets the contents of PXELINUX config like file to boot using a specific initrd, kernel and kernel command line. This patch also adds a README.pxe file - see it for more details on the pxe command. Signed-off-by: Jason Hobbs --- common/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/main.c') diff --git a/common/main.c b/common/main.c index 7be2955..e96c95a 100644 --- a/common/main.c +++ b/common/main.c @@ -269,7 +269,9 @@ int abortboot(int bootdelay) /* * Return 0 on success, or != 0 on error. */ +#ifndef CONFIG_CMD_PXE static inline +#endif int run_command2(const char *cmd, int flag) { #ifndef CONFIG_SYS_HUSH_PARSER -- cgit v1.1