Tup: add x86 drivers from os repo

This commit is contained in:
Ehmry - 2019-10-06 18:51:21 +02:00
parent f931ce2e19
commit af52274972
9 changed files with 45 additions and 8 deletions

View File

@ -0,0 +1,6 @@
include_rules
ifneq ($(X86),)
: foreach ../*.cc *.cc |> !cxx |> %B.o {obj}
: {obj} | |> !prg |> acpi_drv {bin}
: {bin} |> !collect_bin |>
endif

View File

@ -0,0 +1,6 @@
include_rules
ifneq ($(X86),)
: foreach *.cc spec/x86/*.cc |> !cxx |> %B.o {obj}
: {obj} | |> !prg |> ahci_drv {bin}
: {bin} |> !collect_bin |>
endif

View File

@ -1,8 +0,0 @@
include_rules
ifneq ($(X86),)
: foreach $(SRC_CC) *.cc |> !cxx |> %B.o {obj}
: {obj} | |> !prg |> ahci_x86_drv {bin}
: {bin} |> !collect_bin |>
endif

View File

@ -0,0 +1,6 @@
include_rules
ifneq ($(X86),)
: foreach *.cc |> !cxx |> %B.o {obj}
: {obj} | |> !prg |> fb_boot_drv {bin}
: {bin} |> !collect_bin |>
endif

View File

@ -0,0 +1,4 @@
include_rules
: foreach *.cc |> !cxx |> %B.o {obj}
: {obj} | |> !prg |> nvme_drv {bin}
: {bin} |> !collect_bin |>

View File

@ -0,0 +1,6 @@
include_rules
ifneq ($(X86),)
: foreach *.cc |> !cxx |> %B.o {obj}
: {obj} | |> !prg |> platform_drv {bin}
: {bin} |> !collect_bin |>
endif

View File

@ -0,0 +1,6 @@
include_rules
ifneq ($(X86),)
: foreach *.cc spec/x86/*.cc |> !cxx |> %B.o {obj}
: {obj} | |> !prg |> rtc_drv {bin}
: {bin} |> !collect_bin |>
endif

View File

@ -0,0 +1,7 @@
include_rules
ifneq ($(X86),)
CPPFLAGS += -Ispec/x86
: foreach *.cc |> !cxx |> %B.o {obj}
: {obj} | |> !prg |> pc_uart_drv {bin}
: {bin} |> !collect_bin |>
endif

View File

@ -0,0 +1,4 @@
include_rules
: foreach *.cc |> !cxx |> %B.o {obj}
: {obj} | |> !prg |> usb_block_drv {bin}
: {bin} |> !collect_bin |>