refactor: make pci device driver loading passive, pci bus scanner will not load them...
[lunaix-os.git] / lunaix-os / makeinc / toolchain.mkinc
index b629d6fc974d07078a4c0732f217487b620c21f5..79ea4cbea63730d268d0fa0a01e6c551b4e779f9 100644 (file)
@@ -1,7 +1,7 @@
 CC := i686-elf-gcc
 AS := i686-elf-as
 AR := i686-elf-ar
-PY := python
+PY := python3
 
 
 ARCH_OPT := -D__ARCH_IA32
@@ -23,7 +23,7 @@ OFLAGS := -fno-gcse\
                  -fno-inline-small-functions \
                  -fno-indirect-inlining
 
-CFLAGS := -std=gnu99 -ffreestanding $(OFLAGS) $(W) $(ARCH_OPT)
+CFLAGS := -std=gnu99 -ffreestanding -MMD $(OFLAGS) $(W) $(ARCH_OPT)
 
 ifeq ($(BUILD_MODE),debug)
        O = -Og