Skip to content

Commit

Permalink
scripts: move gen_strerror_table.py to scripts/build
Browse files Browse the repository at this point in the history
Move scripts needed by the build system and not designed to be run
individually or standalone into the build subfolder.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif authored and carlescufi committed Jul 12, 2022
1 parent d589e7f commit 4f65bf6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/libc/minimal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ add_custom_command(
OUTPUT ${STRERROR_TABLE_H}
COMMAND
${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/gen_strerror_table.py
${ZEPHYR_BASE}/scripts/build/gen_strerror_table.py
-i include/errno.h
-o ${STRERROR_TABLE_H}
DEPENDS include/errno.h
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/minimal/source/string/strerror.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <zephyr/sys/util.h>

/*
* See scripts/gen_strerror_table.py
* See scripts/build/gen_strerror_table.py
*
* #define sys_nerr N
* const char *const sys_errlist[sys_nerr];
Expand Down
File renamed without changes.

0 comments on commit 4f65bf6

Please sign in to comment.