commit | 9acf1ca50d8b031511d146f6ffd73201fedce28c | [log] [tgz] |
---|---|---|
author | Michael Walle <michael@walle.cc> | Tue Jun 05 11:33:14 2012 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Sat Jul 07 14:07:32 2012 +0200 |
tree | a10e3bb54c3a410ea568ce0d69ff9ef42a601145 | |
parent | d131ad68c6566749df10154d2a6fa93df5865495 [diff] [blame] |
lib: add rand() function It's a PRNG using the simple and fast xorshift method. Signed-off-by: Michael Walle <michael@walle.cc> Cc: Wolfgang Denk <wd@denx.de>
diff --git a/lib/Makefile b/lib/Makefile index 1e8478f..0ca45fc 100644 --- a/lib/Makefile +++ b/lib/Makefile
@@ -66,6 +66,7 @@ COBJS-y += time.o COBJS-$(CONFIG_BOOTP_PXE) += uuid.o COBJS-y += vsprintf.o +COBJS-$(CONFIG_RANDOM_MACADDR) += rand.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c)