2015-11-11 14:18:26 +00:00
|
|
|
ifeq ($(called_from_lib_mk),yes)
|
|
|
|
|
2023-05-11 12:46:58 +00:00
|
|
|
LIBNL_EMUL_H := $(REP_DIR)/src/lib/libnl/include/libnl_emul.h
|
2015-11-11 14:18:26 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Generate links for emulated header files in build directory
|
|
|
|
#
|
|
|
|
EMUL_INC := $(shell pwd)/include
|
|
|
|
EMUL_INC_LIST := $(addprefix linux/, netdevice.h ethtool.h atm.h socket.h in_route.h) \
|
|
|
|
$(addprefix asm/, byteorder.h)
|
|
|
|
EMUL_INCLUDES := $(addprefix $(EMUL_INC)/,$(EMUL_INC_LIST))
|
|
|
|
|
|
|
|
all: $(EMUL_INCLUDES)
|
|
|
|
|
|
|
|
$(EMUL_INCLUDES):
|
|
|
|
$(VERBOSE)mkdir -p $(dir $@)
|
|
|
|
$(VERBOSE)ln -s $(LIBNL_EMUL_H) $@
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
# vi: set ft=make :
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|