Skip to content

Commit eeb6a66

Browse files
committed
fixup! Add lua-memory as dependecy
1 parent 53d3772 commit eeb6a66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ccflags-y += -D_LUNATIK -D_KERNEL -I$(src) -D_CONFIG_FULL_PANIC -DLUNATIK_UNUSED \
2-
-I$(src)/lua -I$(src)/deps/lua-memory/src
2+
-I$(src)/lua -I$(src)/deps/lua-memory/src
33
asflags-y += -D_LUNATIK -D_KERNEL
44

55
ifeq ($(ARCH), $(filter $(ARCH),i386 x86))
@@ -36,7 +36,9 @@ lua-objs = lua/lapi.o lua/lcode.o lua/lctype.o lua/ldebug.o lua/ldo.o \
3636
lua/ltablib.o lua/lutf8lib.o lua/loslib.o lua/lmathlib.o lua/linit.o \
3737
lua/loadlib.o luautil.o
3838

39-
lua_memory-objs = deps/lua-memory/src/lmemlib.o deps/lua-memory/src/lmemmod.o
39+
lua_memory-path = deps/lua-memory/src
40+
41+
lua_memory-objs = $(lua_memory-path)/lmemlib.o $(lua_memory-path)/lmemmod.o
4042

4143
lunatik-objs += $(lua-objs) \
4244
arch/$(ARCH)/setjmp.o util/modti3.o lunatik_core.o states.o netlink.o $(lua_memory-objs) \

0 commit comments

Comments
 (0)