• Masahiro Yamada's avatar
    blackfin: fix undefined reference to srand and rand · 3850dbe8
    Masahiro Yamada authored
    Commit 9ba9e85f (net: Fix NET_RANDOM_ETHADDR dependencies)
    accidentally dropped CONFIG_LIB_RAND defines for 14 Blackfin boards.
    
    Prior to that commit, those boards defined CONFIG_LIB_RAND, but not
    CONFIG_NET_RANDOM_ETHADDR.  So, commit 9ba9e85f should not have
    touched them, but in fact it ripped CONFIG_LIB_RAND off from all the
    header files, which caused undefined reference to srand and rand.
    CONFIG_LIB_RAND=y must be revived for such boards.
    
    BTW, this commit indeed makes it better, but even with this fix,
    three boards (bf533-stamp, bf538f-ezkit, cm-bf548) still can not
    build due to region 'ram' overflowed error.  This was cause by
    commit 6eed3786 (net: Move the CMD_NET config to defconfigs)
    because CMD_NET selects NET, and NET selects REGEX.  Eventually,
    some boards were newly enabled with CONFIG_REGEX, increasing the
    memory footprint.  A patch is expected to fix the build error.
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    3850dbe8
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...