Skip to content

Commit 296751e

Browse files
VictorNogueiraRiolneto
authored andcommitted
add Lunatik submodule
1 parent 56037ca commit 296751e

4 files changed

Lines changed: 10 additions & 0 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "lib/lunatik"]
2+
path = lib/lunatik
3+
url = https://github.com/luainkernel/lunatik.git

lib/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,3 +294,7 @@ obj-$(CONFIG_GENERIC_LIB_MULDI3) += muldi3.o
294294
obj-$(CONFIG_GENERIC_LIB_CMPDI2) += cmpdi2.o
295295
obj-$(CONFIG_GENERIC_LIB_UCMPDI2) += ucmpdi2.o
296296
obj-$(CONFIG_OBJAGG) += objagg.o
297+
298+
subdir-ccflags-y += -I$(srctree)/lib/lunatik/lua \
299+
-D_KERNEL
300+
obj-$(CONFIG_LUNATIK) += lunatik/

lib/lunatik

Submodule lunatik added at fb7ef47

net/core/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \
88

99
obj-$(CONFIG_SYSCTL) += sysctl_net_core.o
1010

11+
CFLAGS_dev.o = -Ilib/lunatik/lua/ -D_KERNEL
12+
CFLAGS_filter.o = -Ilib/lunatik/lua/ -D_KERNEL
1113
obj-y += dev.o ethtool.o dev_addr_lists.o dst.o netevent.o \
1214
neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
1315
sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \

0 commit comments

Comments
 (0)