aboutsummaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2016-10-12 12:44:03 +0200
committerAlexey Kardashevskiy <aik@ozlabs.ru>2016-10-17 11:02:15 +1100
commita225adc3a14e56100730c35f626c32f5aeaba7dc (patch)
treefa211968d7b57fb9d7fc69ccbb2a345aa8cd4510 /clients
parentab3ce014ea462642de0ae29fdfab42fd99aa927c (diff)
downloadSLOF-a225adc3a14e56100730c35f626c32f5aeaba7dc.zip
SLOF-a225adc3a14e56100730c35f626c32f5aeaba7dc.tar.gz
SLOF-a225adc3a14e56100730c35f626c32f5aeaba7dc.tar.bz2
Link libnet code to Paflof and add a wrapper for netboot()
Now that all necessary functions are provided by Paflof, too, we can finally link the libnet code to this binary. To be able to call the netboot() function from the Forth code now, we also add a wrapper that takes the parameter string from the obp-tftp package and converts it to an argv array that is expected by the netboot() function. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'clients')
-rw-r--r--clients/net-snk/app/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/clients/net-snk/app/main.c b/clients/net-snk/app/main.c
index 22aeba7..3a01ac6 100644
--- a/clients/net-snk/app/main.c
+++ b/clients/net-snk/app/main.c
@@ -31,8 +31,6 @@ main(int argc, char *argv[])
int i;
of_set_callback((void *) &_callback_entry);
- if (strcmp(argv[0], "netboot") == 0 && argc >= 5)
- return netboot(argc, argv);
if (strcmp(argv[0], "ping") == 0)
return ping(argc, argv);
#ifdef SNK_BIOSEMU_APPS