Quote from Marius L. Meyer:
I discovered what the problem was. The directory include/generated does not
exist and does not get created anywhere in the process. So when
configure/conf tries to rename .tmpconfig.h to include/generated/autoconf.h,
it fails. The problem is solved by simply creating the directory before
running autogen.sh.
Reported-by: Marius Ladegaard Meyer
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include("config.cmake")
+file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/generated")
+
add_subdirectory(carlfw)
if (CONFIG_CARL9170FW_BUILD_MINIBOOT)
case "$1" in
config)
echo "Configuring..."
+ cmake .
make -C config
config/conf Kconfig
- cmake .
;;
compile)