depot: src/vfs_lxip recipe

This commit is contained in:
Norman Feske 2018-02-19 19:20:48 +01:00 committed by Christian Helmuth
parent f177107a4f
commit 5261462d7a
4 changed files with 38 additions and 1 deletions

View File

@ -7,7 +7,9 @@ LX_EMUL_H := $(REP_DIR)/src/lib/lxip/include/lx_emul.h
# Determine the header files included by the contrib code. For each
# of these header files we create a symlink to 'lx_emul.h'.
#
GEN_INCLUDES := $(shell grep -rIh "^\#include" $(LXIP_CONTRIB_DIR) |\
SCAN_DIRS := $(addprefix $(LXIP_CONTRIB_DIR)/include/, asm-generic linux net uapi) \
$(addprefix $(LXIP_CONTRIB_DIR)/, drivers lib net)
GEN_INCLUDES := $(shell grep -rIh "^\#include .*\/" $(SCAN_DIRS) |\
sed "s/^\#include [^<\"]*[<\"]\([^>\"]*\)[>\"].*/\1/" |\
sort | uniq)
#

View File

@ -0,0 +1,27 @@
LIB_MK := $(addprefix lib/mk/,lxip.mk lxip_include.mk vfs_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 src/lx_kit \
$(shell cd $(REP_DIR); find src/lib/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" ) > $@

View File

@ -0,0 +1 @@
2018-02-19 b8ab933a0096950207aa02fbfc57e36ea8fa5169

View File

@ -0,0 +1,7 @@
base
os
so
libc
vfs
timer_session
nic_session