mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
chore: Update makefiles & macros
This commit is contained in:
2
Drivers/.vscode/c_cpp_properties.json
vendored
2
Drivers/.vscode/c_cpp_properties.json
vendored
@ -12,7 +12,6 @@
|
||||
"KERNEL_VERSION=\"1.0\"",
|
||||
"GIT_COMMIT=\"0000000000000000000000000000000000000000\"",
|
||||
"GIT_COMMIT_SHORT=\"0000000\"",
|
||||
"a64",
|
||||
"DEBUG=\"1\""
|
||||
],
|
||||
"compilerPath": "${workspaceFolder}/../tools/cross/bin/x86_64-fennix-gcc",
|
||||
@ -69,7 +68,6 @@
|
||||
"KERNEL_VERSION=\"1.0\"",
|
||||
"GIT_COMMIT=\"0000000000000000000000000000000000000000\"",
|
||||
"GIT_COMMIT_SHORT=\"0000000\"",
|
||||
"a32",
|
||||
"DEBUG=\"1\""
|
||||
],
|
||||
"compilerPath": "${workspaceFolder}/../tools/cross/bin/i386-elf-gcc",
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config file
|
||||
include ../../Makefile.conf
|
||||
include ../../config.mk
|
||||
|
||||
FILENAME = libkernel.so
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
@ -66,15 +66,14 @@ int DriverProbe()
|
||||
* This function is to test if the driver is compatible
|
||||
* with the hardware.
|
||||
* Example: Like if there is a PCI device that the driver
|
||||
* is for, or a CPU feature that etc.
|
||||
* is for, or a CPU feature etc.
|
||||
*
|
||||
* Return 0 if the driver is compatible with the hardware.
|
||||
* Otherwise, return a value that is not 0.
|
||||
*
|
||||
* Note: In this function you cannot use variables that
|
||||
* have constructors or destructors. Before DriverEntry,
|
||||
* the constructors are called and after DriverFinalize,
|
||||
* the destructors are called.
|
||||
* the destructors.
|
||||
*/
|
||||
|
||||
return 0;
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Config files
|
||||
include ../../../Makefile.conf
|
||||
include ../../../config.mk
|
||||
include ../../config.mk
|
||||
|
||||
S_SOURCES = $(shell find ./ -type f -name '*.S')
|
||||
|
Reference in New Issue
Block a user