build: standardise script filenames

This commit is contained in:
2023-04-04 09:59:25 +01:00
parent 5b53168c5f
commit 06ba21bd9d
5 changed files with 17 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ LIBC_SRC_DIRS := stdio string ctype
LIBC_C_FILES := $(foreach dir,$(LIBC_SRC_DIRS),$(wildcard libc/$(dir)/*.c))
LIBC_OBJ := $(addprefix $(BUILD_DIR)/,$(LIBC_C_FILES:.c=.o))
BUILD_ID := $(shell tools/generate_build_id.py --arch $(SOCKS_ARCH))
BUILD_ID := $(shell tools/socks.buildid --arch $(SOCKS_ARCH))
CWARNINGS := -Wall -Werror -pedantic -Wno-language-extension-token -Wno-unused-function -Wno-gnu-statement-expression
@@ -84,7 +84,7 @@ clean:
$(BUILD_DIR)/compile_commands.json:
@printf " \033[1;93mGEN\033[0m Generating compiler database.\n"
@./tools/make/generate_compile_commands.py
@./tools/socks.compiledb
compile-db: $(BUILD_DIR)/compile_commands.json

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env python3
# vim: ft=python
# -*- mode: python -*-
import subprocess
import sys

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env python3
# vim: ft=python
# -*- mode: python -*-
import json
import subprocess
import os

5
tools/socks.kexttool Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env python3
# vim: ft=python
# -*- mode: python -*-
print('hello, world')

View File

@@ -1,4 +1,8 @@
#!/usr/bin/env python3
# vim: ft=python
# -*- mode: python -*-
import json
import os
import sys