include $(TOPDIR)/config.mk
-LIB = libgeneric.a
-
-OBJS = crc32.o ctype.o display_options.o ldiv.o string.o vsprintf.o LzmaWrapper.o LzmaDecode.o
+LIB = libgeneric.a
+OBJS = crc32.o \
+ ctype.o \
+ display_options.o \
+ string.o \
+ LzmaDecode.o \
+ LzmaWrapper.o \
+ vsprintf.o
CFLAGS += -DCONFIG_LZMA=1
-$(LIB): .depend $(OBJS)
+$(LIB): .depend $(OBJS)
$(AR) crv $@ $(OBJS)
#########################################################################
-.depend: Makefile $(OBJS:.o=.c)
- $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
+.depend: Makefile $(OBJS:.o=.c)
+ $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
sinclude .depend
#include <linux/ctype.h>
#include <malloc.h>
+#define __HAVE_ARCH_STRNICMP
+#define __HAVE_ARCH_STRRCHR
+#define __HAVE_ARCH_STRSPN
+#define __HAVE_ARCH_STRPBRK
+#define __HAVE_ARCH_STRTOK
+#define __HAVE_ARCH_STRSEP
+#define __HAVE_ARCH_STRSWAB
+#define __HAVE_ARCH_BCOPY
+#define __HAVE_ARCH_MEMSCAN
+#define __HAVE_ARCH_MEMCHR
#ifndef __HAVE_ARCH_STRNICMP
/**
}
#endif
-char * ___strtok;
-
#ifndef __HAVE_ARCH_STRCPY
/**
* strcpy - Copy a %NUL terminated string
#endif
#ifndef __HAVE_ARCH_STRTOK
+char * ___strtok;
/**
* strtok - Split a string into tokens
* @s: The string to be searched
#include <common.h>
#include <command.h>
-/*cmd_boot.c*/
-extern int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
-
unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base){
unsigned long result = 0,value;