File tree Expand file tree Collapse file tree 5 files changed +16
-0
lines changed
Expand file tree Collapse file tree 5 files changed +16
-0
lines changed 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 @@ -1156,6 +1156,12 @@ config HAVE_PCSPKR_PLATFORM
11561156config BPF
11571157 bool
11581158
1159+ config LUNATIK
1160+ bool "Lunatik"
1161+ default n
1162+ help
1163+ Support for the Lua interpreter
1164+
11591165menuconfig EXPERT
11601166 bool "Configure standard kernel features (expert users)"
11611167 # Unhide debug options, to make the on-by-default options visible
Original file line number Diff line number Diff line change @@ -283,3 +283,7 @@ obj-$(CONFIG_GENERIC_LIB_LSHRDI3) += lshrdi3.o
283283obj-$(CONFIG_GENERIC_LIB_MULDI3) += muldi3.o
284284obj-$(CONFIG_GENERIC_LIB_CMPDI2) += cmpdi2.o
285285obj-$(CONFIG_GENERIC_LIB_UCMPDI2) += ucmpdi2.o
286+
287+ subdir-ccflags-y += -I$(srctree ) /lib/lunatik/lua \
288+ -D_KERNEL
289+ 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 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 \
You can’t perform that action at this time.
0 commit comments