initial commit

This commit is contained in:
2024-12-15 00:34:01 +06:00
commit 31efbc726f
1576 changed files with 657692 additions and 0 deletions

16
scripts/generate_build_info.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
CC="$1"
CFLAGS="$2"
cat <<EOF
#define RTL_FW_COMPILE_TIME "$(date +%Y/%m/%d-%T)"
#define RTL_FW_COMPILE_DATE "$(date +%Y%m%d)"
#define UTS_VERSION "$(date +%Y/%m/%d-%T)"
#define RTL8195AFW_COMPILE_TIME "$(date +%Y/%m/%d-%T)"
#define RTL8195AFW_COMPILE_DATE "$(date +%Y%m%d)"
#define RTL8195AFW_COMPILE_BY "$(id -u -n)"
#define RTL8195AFW_COMPILE_HOST "$(hostname)"
#define RTL8195AFW_COMPILE_DOMAIN ""
#define RTL8195AFW_COMPILER "gcc $($CC $CFLAGS -dumpversion | tr --delete '\r')"
EOF