od: provide full-blown od from coreutils if CONFIG_DESKTOP
This commit is contained in:
@@ -11,12 +11,13 @@
|
||||
* Original copyright notice is retained at the end of this file.
|
||||
*/
|
||||
|
||||
// TODO: -t. busybox's own build script needs it
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#if ENABLE_DESKTOP
|
||||
/* This one provides -t (busybox's own build script needs it) */
|
||||
#include "od_bloaty.c"
|
||||
#else
|
||||
|
||||
#include <getopt.h>
|
||||
#include <stdlib.h>
|
||||
#include "busybox.h"
|
||||
#include "dump.h"
|
||||
|
||||
@@ -191,6 +192,7 @@ int od_main(int argc, char **argv)
|
||||
|
||||
return bb_dump_dump(argv);
|
||||
}
|
||||
#endif /* ENABLE_DESKTOP */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
|
1594
coreutils/od_bloaty.c
Normal file
1594
coreutils/od_bloaty.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user