diff options
author | Michael Walle <michael@walle.cc> | 2012-06-05 11:33:14 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:32 +0200 |
commit | 9acf1ca50d8b031511d146f6ffd73201fedce28c (patch) | |
tree | a10e3bb54c3a410ea568ce0d69ff9ef42a601145 /lib/Makefile | |
parent | d131ad68c6566749df10154d2a6fa93df5865495 (diff) |
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>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 1e8478f0312..0ca45fc1e95 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -66,6 +66,7 @@ COBJS-y += string.o 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) |