forked from Bananymous/banan-os
Kernel: Fix prefs font for 32 bit
This commit is contained in:
parent
6c1f0d1dc8
commit
80f9428337
|
@ -96,7 +96,7 @@ $(ARCHDIR)/crtbegin.o $(ARCHDIR)/crtend.o:
|
||||||
$(CC) -MD -c $< -o $(BUILDDIR)/$@ $(CFLAGS)
|
$(CC) -MD -c $< -o $(BUILDDIR)/$@ $(CFLAGS)
|
||||||
|
|
||||||
.psf.o:
|
.psf.o:
|
||||||
objcopy -O elf64-x86-64 -B i386 -I binary $< $(BUILDDIR)/$@
|
objcopy -O $(ELF_FORMAT) -B i386 -I binary $< $(BUILDDIR)/$@
|
||||||
|
|
||||||
always:
|
always:
|
||||||
mkdir -p $(BUILDDIR)/$(ARCHDIR)
|
mkdir -p $(BUILDDIR)/$(ARCHDIR)
|
||||||
|
|
|
@ -3,6 +3,8 @@ KERNEL_ARCH_CPPFLAGS=
|
||||||
KERNEL_ARCH_LDFLAGS=
|
KERNEL_ARCH_LDFLAGS=
|
||||||
KERNEL_ARCH_LIBS=
|
KERNEL_ARCH_LIBS=
|
||||||
|
|
||||||
|
ELF_FORMAT=elf32-i386
|
||||||
|
|
||||||
KERNEL_ARCH_OBJS= \
|
KERNEL_ARCH_OBJS= \
|
||||||
$(ARCHDIR)/boot.o \
|
$(ARCHDIR)/boot.o \
|
||||||
$(ARCHDIR)/IDT.o \
|
$(ARCHDIR)/IDT.o \
|
||||||
|
|
|
@ -3,6 +3,8 @@ KERNEL_ARCH_CPPFLAGS=
|
||||||
KERNEL_ARCH_LDFLAGS=-z max-page-size=4096
|
KERNEL_ARCH_LDFLAGS=-z max-page-size=4096
|
||||||
KERNEL_ARCH_LIBS=
|
KERNEL_ARCH_LIBS=
|
||||||
|
|
||||||
|
ELF_FORMAT=elf64-x86-64
|
||||||
|
|
||||||
KERNEL_ARCH_OBJS= \
|
KERNEL_ARCH_OBJS= \
|
||||||
$(ARCHDIR)/boot.o \
|
$(ARCHDIR)/boot.o \
|
||||||
$(ARCHDIR)/IDT.o \
|
$(ARCHDIR)/IDT.o \
|
||||||
|
|
Loading…
Reference in New Issue