Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 9dfd655

Browse files
committed
[[ Build ]] Linux: Build MLC libraries into engine.
1 parent ab69e7d commit 9dfd655

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

engine/Makefile.kernel-common

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ ifeq ($(ARCH),i386)
1818
CUSTOM_CCFLAGS:=$(CUSTOM_CCFLAGS) -march=i486
1919
endif
2020

21+
include ../rules/mlc.linux.makefile
22+
2123
include ../rules/archive.linux.makefile

engine/Makefile.kernel-development

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ SOURCES= \
99
deploy_macosx.cpp deploy_capsule.cpp deploy_sign.cpp deploy_file.cpp \
1010
deploy_dmg.cpp bsdiff_build.cpp encodederrors.cpp
1111

12+
MLC_LIST = libkernel-modules.list
13+
1214
KERNEL_DEFINES=\
1315
MODE_DEVELOPMENT
1416

engine/libkernel-modules.list

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file must be in dependency order; no file must depend on files
2+
# later in the list.
3+
canvas.mlc
4+
engine.mlc
5+
widget.mlc

toolchain/Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,11 +450,9 @@ SCRIPT_mlc = $(shell cat $(SCRIPT_mlc_list) | grep -v '^\#')
450450
########## engine MLC
451451

452452
ENGINE_mlcdir = $(top_srcdir)/engine/src
453+
ENGINE_mlc_list = $(top_srcdir)/engine/libkernel-modules.list
453454

454-
ENGINE_mlc = \
455-
canvas.mlc \
456-
engine.mlc \
457-
widget.mlc
455+
ENGINE_mlc = $(shell cat $(ENGINE_mlc_list) | grep -v '^\#')
458456

459457
########## LCI compilation
460458

0 commit comments

Comments
 (0)