Added TrueType base and HDA driver
This commit is contained in:
parent
aa3f734406
commit
42cc0d9f40
30 changed files with 7120 additions and 35 deletions
17
Makefile
17
Makefile
|
@ -33,7 +33,7 @@ export BUILD_DIR ?= $(ROOT_DIR)/build
|
|||
export SYSROOT_DIR ?= $(ROOT_DIR)/sysroot
|
||||
export RELEASE_DIR ?= $(ROOT_DIR)/release
|
||||
|
||||
NOUEFI ?= n
|
||||
export NOUEFI ?= n
|
||||
|
||||
##
|
||||
# Image generation and running
|
||||
|
@ -45,6 +45,9 @@ LIVESD := $(RELEASE_DIR)/aurix-$(GITREV)-livesd_$(ARCH)-$(PLATFORM).img
|
|||
|
||||
QEMU_FLAGS := -m 2G -smp 4 -serial stdio
|
||||
|
||||
# QEMU Audio support
|
||||
QEMU_FLAGS += -audiodev coreaudio,id=coreaudio0 -device ich9-intel-hda -device hda-output,audiodev=coreaudio0
|
||||
|
||||
##
|
||||
# General info
|
||||
#
|
||||
|
@ -75,16 +78,7 @@ all: boot kernel
|
|||
.PHONY: boot
|
||||
boot:
|
||||
@printf ">>> Building bootloader...\n"
|
||||
ifneq (,$(filter $(ARCH),i686 x86_64))
|
||||
@$(MAKE) -C boot PLATFORM=pc-bios
|
||||
else
|
||||
@$(MAKE) -C boot
|
||||
endif
|
||||
ifneq (,$(filter $(ARCH),i686 x86_64 arm32 aarch64))
|
||||
ifeq ($(NOUEFI),n)
|
||||
@$(MAKE) -C boot PLATFORM=uefi
|
||||
endif
|
||||
endif
|
||||
@$(MAKE) -C boot all
|
||||
|
||||
.PHONY: kernel
|
||||
kernel:
|
||||
|
@ -142,6 +136,7 @@ run-uefi: livecd ovmf
|
|||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@$(MAKE) -C boot clean
|
||||
@rm -rf $(BUILD_DIR) $(SYSROOT_DIR)
|
||||
|
||||
.PHONY: distclean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue