From: Christian Lamparter Date: Wed, 30 Mar 2011 11:41:21 +0000 (+0200) Subject: carl9170 firmware build: mkdir include/generated when not present X-Git-Tag: 1.9.4~20 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=188f2a6ac8f0b9e497d25a9b7c136de556e098a6;p=carl9170fw.git carl9170 firmware build: mkdir include/generated when not present 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 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c017bbb..51d6265 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,8 @@ project(carl9170) include("config.cmake") +file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/generated") + add_subdirectory(carlfw) if (CONFIG_CARL9170FW_BUILD_MINIBOOT) diff --git a/autogen.sh b/autogen.sh index 56b8101..8a47b51 100755 --- a/autogen.sh +++ b/autogen.sh @@ -5,9 +5,9 @@ set -e case "$1" in config) echo "Configuring..." + cmake . make -C config config/conf Kconfig - cmake . ;; compile)