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
|
||||
|
||||
preinit: preinit.o parseopts.o
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
#ifdef PREINIT_USE_LIBC
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/wait.h>
|
||||
#include <string.h>
|
||||
#else
|
||||
#include <nolibc.h>
|
||||
#endif
|
||||
#include <asm/setup.h>
|
||||
|
||||
#include <asm/setup.h> /* for COMMAND_LINE_SIZE */
|
||||
|
||||
void parseopts(char * cmdline, char **root, char **rootfstype);
|
||||
|
||||
|
|
Loading…
Reference in a new issue