mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
move architecture dependent basic functions to libkern
This commit is contained in:
parent
4a74e9306a
commit
c7e53d12bf
4 changed files with 7 additions and 2 deletions
|
@ -4,7 +4,7 @@ ARCH = x86
|
|||
NAME = libhermit.a
|
||||
DRIVERDIRS = drivers/net
|
||||
LWIPDIRS = lwip/src/arch lwip/src/api lwip/src/core lwip/src/core/ipv4 lwip/src/core/ipv6 lwip/src/netif
|
||||
KERNDIRS = kernel mm libkern arch/$(ARCH)/kernel arch/$(ARCH)/mm $(LWIPDIRS) $(DRIVERDIRS)
|
||||
KERNDIRS = kernel mm libkern arch/$(ARCH)/kernel arch/$(ARCH)/libkern arch/$(ARCH)/mm $(LWIPDIRS) $(DRIVERDIRS)
|
||||
SUBDIRS = $(KERNDIRS)
|
||||
TODAY := $(shell date +'%Y%m%d')
|
||||
QEMU = @QEMU@ -machine accel=kvm -cpu host
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
C_source := irq.c idt.c isrs.c gdt.c processor.c timer.c tasks.c apic.c pci.c uart.c syscall.c signal.c
|
||||
ASM_source := entry.asm string.asm
|
||||
ASM_source := entry.asm
|
||||
MODULE := arch_x86_kernel
|
||||
|
||||
include $(TOPDIR)/Makefile.inc
|
||||
|
|
5
arch/x86/libkern/Makefile
Normal file
5
arch/x86/libkern/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
C_source :=
|
||||
ASM_source := string.asm
|
||||
MODULE := arch_x86_kernel
|
||||
|
||||
include $(TOPDIR)/Makefile.inc
|
Loading…
Add table
Reference in a new issue