remove PREINIT_USE_LIBC option as it is now the only option
This commit is contained in:
parent
61dc5beca8
commit
0f38ee0e9c
2 changed files with 3 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
CFLAGS+=-Os -DPREINIT_USE_LIBC -fno-stack-protector -fpic -fPIC
|
CFLAGS+=-Os -fno-stack-protector -fpic -fPIC
|
||||||
LDFLAGS=-static
|
LDFLAGS=-static
|
||||||
|
|
||||||
preinit: preinit.o parseopts.o
|
preinit: preinit.o parseopts.o
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
#ifdef PREINIT_USE_LIBC
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#else
|
|
||||||
#include <nolibc.h>
|
#include <asm/setup.h> /* for COMMAND_LINE_SIZE */
|
||||||
#endif
|
|
||||||
#include <asm/setup.h>
|
|
||||||
|
|
||||||
void parseopts(char * cmdline, char **root, char **rootfstype);
|
void parseopts(char * cmdline, char **root, char **rootfstype);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue