genode/repos/dde_linux/lib/mk/vfs_lxip.mk
Sebastian Sumpf 304f2eaf38 lxip: VFS plugin
Provides file-system compatible to libc socket-fs requirements. This
includes pseudo file for network configuration.
2017-02-28 12:59:15 +01:00

22 lines
529 B
Makefile

SHARED_LIB = yes
VFS_DIR = $(REP_DIR)/src/lib/vfs/lxip
LXIP_DIR = $(REP_DIR)/src/lib/lxip
LIBS += 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/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