mirror of https://github.com/deadw00d/AROS.git
31 lines
844 B
Plaintext
31 lines
844 B
Plaintext
#
|
|
# Generate the bootconsole link library
|
|
#
|
|
|
|
include $(SRCDIR)/config/aros.cfg
|
|
|
|
# Font. Can be different, if someone wants to.
|
|
FONT := font8x14
|
|
|
|
# This can be hardware-specific.
|
|
ifneq ($(AROS_TARGET_CPU),arm)
|
|
SERIAL := serial_16450
|
|
endif
|
|
|
|
FILES := common clear init_multiboot init_multiboot2 init_taglist \
|
|
screen_text screen_fb util_fb vars $(FONT) $(SERIAL)
|
|
|
|
USER_INCLUDES := -isystem $(SRCDIR)/$(CURDIR)/include
|
|
|
|
%build_linklib mmake=linklibs-bootconsole libname=bootconsole files="$(FILES)" libdir=$(GENDIR)/lib usesdks="private"
|
|
|
|
# pc-x86_64 needs a 32bit version of bootconsole.a
|
|
ifeq ($(AROS_TARGET_CPU),x86_64)
|
|
ISA_FLAGS := $(ISA_X86_FLAGS)
|
|
endif
|
|
|
|
%build_linklib mmake=linklibs-bootconsole32 libname=bootconsole files="$(FILES)" \
|
|
objdir=$(GENDIR)/$(CURDIR)/32bit libdir=$(GENDIR)/lib32 usesdks="private"
|
|
|
|
%common
|