added editorconfig and formated code

This commit is contained in:
wt committed 2025-02-13 19:29:05 +07:00
1 parent 87b00b646d
commit fe1d348360
21 files changed
+117 -78

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
tab_width = 8
trim_trailing_whitespace = true
insert_final_newline = true
[DEVELOPERS]
indent_style = tab
indent_size = tab
[Config*.in*]
indent_style = tab
indent_size = tab
[linux/Config.ext.in]
indent_style = tab
indent_size = tab
[Makefile*]
indent_style = tab
indent_size = tab
[*.mk]
indent_style = tab
indent_size = tab
[*.patch]
trim_trailing_whitespace = false
[S{0..9}{0..9}*]
indent_style = tab
indent_size = tab
[*.adoc]
trim_trailing_whitespace = false
-9
View File
@@ -1,16 +1,7 @@
menu "Architecture"
source "arch/Config.in" source "arch/Config.in"
endmenu
menu "Toolchain"
source "toolchain/Config.in" source "toolchain/Config.in"
endmenu
menu "Target Packages"
source "package/Config.in" source "package/Config.in"
endmenu
menu "Bootloader"
source "boot/Config.in" source "boot/Config.in"
endmenu
+5 -3
View File
@@ -1,3 +1,5 @@
source "arch/arm/Config.in" menu "Architecture"
source "arch/aarch64/Config.in" source "arch/arm/Config.in"
source "arch/x86_64/Config.in" source "arch/aarch64/Config.in"
source "arch/x86_64/Config.in"
endmenu
+1 -1
View File
@@ -1,2 +1,2 @@
config SIMPLE_AARCH64 config SIMPLE_AARCH64
bool "aarch64" bool "aarch64"
+1 -1
View File
@@ -1,2 +1,2 @@
config SIMPLE_ARM config SIMPLE_ARM
bool "arm" bool "arm"
+1 -1
View File
@@ -1,2 +1,2 @@
config SIMPLE_X86_64 config SIMPLE_X86_64
bool "x86_64" bool "x86_64"
+4 -2
View File
@@ -1,2 +1,4 @@
source "package/uboot/Config.in" menu "Bootloader"
source "package/grub2/Config.in" source "package/uboot/Config.in"
source "package/grub2/Config.in"
endmenu
+9 -7
View File
@@ -1,7 +1,9 @@
source "package/busybox/Config.in" menu "Target Packages"
source "package/zlib/Config.in" source "package/busybox/Config.in"
source "package/dropbear/Config.in" source "package/zlib/Config.in"
source "package/openssh/Config.in" source "package/dropbear/Config.in"
source "package/curl/Config.in" source "package/openssh/Config.in"
source "package/bash/Config.in" source "package/curl/Config.in"
source "package/git/Config.in" source "package/bash/Config.in"
source "package/git/Config.in"
endmenu
+4 -4
View File
@@ -1,5 +1,5 @@
config SIMPLE_PACKAGE_BASH config SIMPLE_PACKAGE_BASH
bool "Bash" bool "Bash"
depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC
help help
Borne again shell (default linux shell) Borne again shell (default linux shell)
+3 -3
View File
@@ -1,4 +1,4 @@
config SIMPLE_PACKAGE_BUSYBOX config SIMPLE_PACKAGE_BUSYBOX
bool "Busybox" bool "Busybox"
help help
Default linux utilities Default linux utilities
+4 -4
View File
@@ -1,5 +1,5 @@
config SIMPLE_PACKAGE_CURL config SIMPLE_PACKAGE_CURL
bool "Curl" bool "Curl"
depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC
help help
http application http application
+6 -6
View File
@@ -1,8 +1,8 @@
config SIMPLE_PACKAGE_DROPBEAR config SIMPLE_PACKAGE_DROPBEAR
bool "Dropbear" bool "Dropbear"
depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC
select SIMPLE_ZLIB select SIMPLE_ZLIB
help help
Embedded ssh server Embedded ssh server
source "package/sftp-server-dropbear/Config.in" source "package/sftp-server-dropbear/Config.in"
+6 -6
View File
@@ -1,7 +1,7 @@
config SIMPLE_PACKAGE_GIT config SIMPLE_PACKAGE_GIT
bool "Git" bool "Git"
select SIMPLE_PACKAGE_CURL select SIMPLE_PACKAGE_CURL
select SIMPLE_PACKAGE_BASH select SIMPLE_PACKAGE_BASH
# depends on SIMPLE_PACKAGE_BASH && SIMPLE_PACKAGE_CURL # depends on SIMPLE_PACKAGE_BASH && SIMPLE_PACKAGE_CURL
help help
Git utilities Git utilities
+1 -1
View File
@@ -1,2 +1,2 @@
config SIMPLE_PACKAGE_GLIBC config SIMPLE_PACKAGE_GLIBC
bool "glibc" bool "glibc"
+3 -3
View File
@@ -1,4 +1,4 @@
config SIMPLE_PACKAGE_GRUB2 config SIMPLE_PACKAGE_GRUB2
bool "Grub2" bool "Grub2"
help help
GNU GRUB is a Multiboot boot loader GNU GRUB is a Multiboot boot loader
+5 -5
View File
@@ -1,6 +1,6 @@
config SIMPLE_PACKAGE_OPENSSH config SIMPLE_PACKAGE_OPENSSH
bool "Openssh" bool "Openssh"
depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC
select SIMPLE_PACKAGE_ZLIB select SIMPLE_PACKAGE_ZLIB
help help
Ssh server Ssh server
+2 -2
View File
@@ -1,3 +1,3 @@
config SIMPLE_PACKAGE_SFTP_SERVER_DROPBEAR config SIMPLE_PACKAGE_SFTP_SERVER_DROPBEAR
bool "Sftp server" bool "Sftp server"
depends on SIMPLE_PACKAGE_DROPBEAR depends on SIMPLE_PACKAGE_DROPBEAR
+4 -4
View File
@@ -1,5 +1,5 @@
config SIMPLE_PACKAGE_UBOOT config SIMPLE_PACKAGE_UBOOT
bool "U-Boot" bool "U-Boot"
help help
Build "Das U-Boot" Boot Monitor Build "Das U-Boot" Boot Monitor
https://www.denx.de/wiki/U-Boot https://www.denx.de/wiki/U-Boot
+1 -1
View File
@@ -1,2 +1,2 @@
config SIMPLE_PACKAGE_UCLIBC config SIMPLE_PACKAGE_UCLIBC
bool "uclibc" bool "uclibc"
+2 -2
View File
@@ -1,3 +1,3 @@
config SIMPLE_PACKAGE_ZLIB config SIMPLE_PACKAGE_ZLIB
bool "Zlib" bool "Zlib"
depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC depends on SIMPLE_PACKAGE_UCLIBC || SIMPLE_PACKAGE_GLIBC
+15 -13
View File
@@ -1,14 +1,16 @@
choice SIMPLE_SELECT_STANDARD_LIBRARY menu "Toolchain"
prompt "Select default C library" choice SIMPLE_SELECT_STANDARD_LIBRARY
default SIMPLE_PACKAGE_UCLIBC prompt "Select default C library"
source "package/glibc/Config.in" default SIMPLE_PACKAGE_UCLIBC
source "package/uclibc/Config.in" source "package/glibc/Config.in"
endchoice source "package/uclibc/Config.in"
endchoice
config SIMPLE_CROSS_COMPILE config SIMPLE_CROSS_COMPILE
string "Cross Compiler" string "Cross Compiler"
default "" default ""
help help
write full or relative path to cross compiler write full or relative path to cross compiler
example: example:
x86_64-buildroot-linux-uclibcgnueabihf x86_64-buildroot-linux-uclibcgnueabihf
endmenu