File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [submodule "lib/lunatik "]
2+ path = lib/lunatik
3+ url = https://github.com/luainkernel/lunatik.git
Original file line number Diff line number Diff line change @@ -1307,6 +1307,12 @@ config HAVE_PCSPKR_PLATFORM
13071307config BPF
13081308 bool
13091309
1310+ config LUNATIK
1311+ bool "Lunatik"
1312+ default n
1313+ help
1314+ Support for the Lua interpreter
1315+
13101316menuconfig EXPERT
13111317 bool "Configure standard kernel features (expert users)"
13121318 # Unhide debug options, to make the on-by-default options visible
Original file line number Diff line number Diff line change @@ -300,3 +300,6 @@ obj-$(CONFIG_OBJAGG) += objagg.o
300300
301301# KUnit tests
302302obj-$(CONFIG_LIST_KUNIT_TEST) += list-test.o
303+ subdir-ccflags-y += -I$(srctree ) /lib/lunatik/lua \
304+ -D_KERNEL
305+ obj-$(CONFIG_LUNATIK) += lunatik/
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \
88
99obj-$(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
1113obj-y += dev.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 \
You can’t perform that action at this time.
0 commit comments