move make to examples/build_system

add -Wl,--no-warn-rwx-segment for gcc 12+
This commit is contained in:
hathach
2023-11-23 11:44:14 +07:00
parent 08f9ed67c9
commit 51312f70fd
16 changed files with 19 additions and 13 deletions

View File

@@ -34,6 +34,7 @@ def build_family(example, family, make_option):
# sum all element of same index (column sum)
return list(map(sum, list(zip(*result))))
if __name__ == '__main__':
# IAR CC
if make_iar_option not in sys.argv:
@@ -44,7 +45,7 @@ if __name__ == '__main__':
for d in os.scandir("examples"):
if d.is_dir() and 'cmake' not in d.name:
for entry in os.scandir(d.path):
if entry.is_dir() and 'cmake' not in entry.name:
if entry.is_dir() and 'cmake' not in entry.name and entry.name != 'build_system':
all_examples.append(d.name + '/' + entry.name)
filter_with_input(all_examples)
all_examples.sort()