cmake: fix typo Fixes: fce9382b4b99 ("cmake: Check for getrandom system call") Signed-off-by: Felix Fietkau <nbd@nbd.name>
cmake: Check for getrandom system call In case we are building against a kernel that is too old and does not support SYS_getrandom, error out with a message indicating so. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
cmake: Find uci header file Add a CMake FIND_PATH and INCLUDE_DIRECTORIES searching for uci.h. Some external toolchains which do not include standard locations would fail to find the header otherwise. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
getrandom: add helper for getrandom() syscall getrandom() was introduced in version 3.17 of the Linux kernel. By default getrandom() block until /dev/urandom pool has been initialized and then read from it. Read buffer is 256 bytes so getrandom() calls always succeed. First usage will be to save a seed for /dev/urandom. Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
hw_detect replaces this old code Signed-off-by: John Crispin <blogic@openwrt.org>
ubox: only link libraries that are actually used Signed-off-by: Felix Fietkau <nbd@openwrt.org>
mount_root/block: these tools were moved to the fstools repo Signed-off-by: John Crispin <blogic@openwrt.org>
make use of the md5.c inside libubox Signed-off-by: John Crispin <blogic@openwrt.org>
add log daemon Signed-off-by: John Crispin <blogic@openwrt.org>
add validation code Signed-off-by: John Crispin <blogic@openwrt.org>
Add CmakeList support for the block tool Signed-off-by: John Crispin <blogic@openwrt.org>
initial import of uboox utilities Signed-off-by: John Crispin <blogic@openwrt.org>