mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
dde_linux: copy vfs_lxip -> vfs_legacy_lxip
Make a copy of vfs_lxip so it can be revived easily. The plugin can now be used like ! <legacy_lxip dhcp="yes"/> issue #5104
This commit is contained in:
parent
27b1017fe9
commit
701856b06a
23
repos/dde_linux/lib/mk/vfs_legacy_lxip.mk
Normal file
23
repos/dde_linux/lib/mk/vfs_legacy_lxip.mk
Normal file
@ -0,0 +1,23 @@
|
||||
SHARED_LIB = yes
|
||||
|
||||
VFS_DIR = $(REP_DIR)/src/lib/vfs/legacy_lxip
|
||||
LXIP_DIR = $(REP_DIR)/src/lib/legacy_lxip
|
||||
|
||||
LIBS += legacy_lxip lxip_include
|
||||
INC_DIR += $(VFS_DIR)
|
||||
LD_OPT += --version-script=$(VFS_DIR)/symbol.map
|
||||
SRC_CC = vfs.cc
|
||||
|
||||
vpath %.cc $(REP_DIR)/src/lib/vfs/legacy_lxip
|
||||
|
||||
SETUP_SUFFIX =
|
||||
CC_OPT += -DSETUP_SUFFIX=$(SETUP_SUFFIX)
|
||||
|
||||
CC_OPT += -U__linux__ -D__KERNEL__
|
||||
CC_OPT += -DCONFIG_INET -DCONFIG_BASE_SMALL=0 -DCONFIG_DEBUG_LOCK_ALLOC \
|
||||
-DCONFIG_IP_PNP_DHCP
|
||||
|
||||
CC_C_OPT += -include $(LXIP_DIR)/include/lx_emul.h
|
||||
CC_CXX_OPT += -fpermissive
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
31
repos/dde_linux/recipes/src/vfs_legacy_lxip/content.mk
Normal file
31
repos/dde_linux/recipes/src/vfs_legacy_lxip/content.mk
Normal file
@ -0,0 +1,31 @@
|
||||
LIB_MK := $(addprefix lib/mk/,legacy_lxip.mk lxip_include.mk vfs_legacy_lxip.mk) \
|
||||
$(foreach SPEC,x86_32 x86_64,lib/mk/spec/$(SPEC)/lx_kit_setjmp.mk)
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/dde_linux)
|
||||
|
||||
MIRROR_FROM_REP_DIR := $(LIB_MK) \
|
||||
lib/import/import-lxip_include.mk \
|
||||
include/lxip src/include/legacy src/lib/legacy/lx_kit \
|
||||
src/lib/lx_kit/spec \
|
||||
$(foreach SPEC, \
|
||||
arm_v6 arm_v7 arm_v8 x86 x86_32 x86_64, \
|
||||
src/include/spec/$(SPEC)) \
|
||||
$(shell cd $(REP_DIR); find src/lib/legacy_lxip -type f) \
|
||||
$(shell cd $(REP_DIR); find src/lib/vfs -type f)
|
||||
|
||||
MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); find src/lib/lxip -type f)
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR)
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
$(MIRROR_FROM_PORT_DIR):
|
||||
mkdir -p $(dir $@)
|
||||
cp -r $(PORT_DIR)/$@ $@
|
||||
|
||||
content: LICENSE
|
||||
LICENSE:
|
||||
( echo "LxIP is based on Linux, which is licensed under the"; \
|
||||
echo "GNU General Public License version 2, see:"; \
|
||||
echo "https://www.kernel.org/pub/linux/kernel/COPYING" ) > $@
|
1
repos/dde_linux/recipes/src/vfs_legacy_lxip/hash
Normal file
1
repos/dde_linux/recipes/src/vfs_legacy_lxip/hash
Normal file
@ -0,0 +1 @@
|
||||
2023-11-08 292058fabece5e1c6823163b0c61846d65313e5d
|
7
repos/dde_linux/recipes/src/vfs_legacy_lxip/used_apis
Normal file
7
repos/dde_linux/recipes/src/vfs_legacy_lxip/used_apis
Normal file
@ -0,0 +1,7 @@
|
||||
base
|
||||
nic_session
|
||||
os
|
||||
so
|
||||
timer_session
|
||||
vfs
|
||||
format
|
9
repos/dde_linux/src/lib/vfs/legacy_lxip/symbol.map
Normal file
9
repos/dde_linux/src/lib/vfs/legacy_lxip/symbol.map
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
global:
|
||||
|
||||
vfs_file_system_factory;
|
||||
|
||||
local:
|
||||
|
||||
*;
|
||||
};
|
2055
repos/dde_linux/src/lib/vfs/legacy_lxip/vfs.cc
Normal file
2055
repos/dde_linux/src/lib/vfs/legacy_lxip/vfs.cc
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user