From 7996a3d79d55b7f879dfd62e202bbfe2963718d3 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 27 Jul 2013 22:15:01 +0000 Subject: really properly move files --- libdde-linux26/lib/src_ip/Makefile | 52 ++++++++++++++++++++++++++++++ libdde-linux26/lib/src_ip/broken | 0 libdde-linux26/lib/src_ip/linux/autoconf.h | 5 +++ 3 files changed, 57 insertions(+) create mode 100644 libdde-linux26/lib/src_ip/Makefile create mode 100644 libdde-linux26/lib/src_ip/broken create mode 100644 libdde-linux26/lib/src_ip/linux/autoconf.h (limited to 'libdde-linux26/lib/src_ip') diff --git a/libdde-linux26/lib/src_ip/Makefile b/libdde-linux26/lib/src_ip/Makefile new file mode 100644 index 00000000..9665ff9b --- /dev/null +++ b/libdde-linux26/lib/src_ip/Makefile @@ -0,0 +1,52 @@ +PKGDIR ?= ../../.. +L4DIR ?= $(PKGDIR)/../.. +CONTRIB ?= $(PKGDIR)/linux26/contrib + +-include $(PKGDIR_OBJ)/Makeconf + +ifeq ($(CONFIG_DDE26_NET),y) +TARGET += libdde_linux26_net_ip.a +endif + +SYSTEMS = x86-l4v2 + +ifeq ($(ARCH), x86) +ARCH_DIR = arch/i386 +endif + +# contrib sources are in $(CONTRIB) +vpath %.c $(CONTRIB) $(PKGDIR)/linux26/lib/src +vpath %.S $(CONTRIB) $(PKGDIR)/linux26/lib/src + +PRIVATE_INCDIR += $(CONTRIB)/drivers/pci $(PKGDIR)/linux26/lib/src/arch/l4 \ + $(CONTRIB)/$(ARCH_DIR)/pci $(CONTRIB)/drivers/base/ \ + $(CONTRIB)/lib $(PKGDIR_OBJ) $(CONTRIB)/net/core + +ifeq ($(ARCH), x86) +SRC_S_libdde_linux26_net_ip.a += $(ARCH_DIR)/lib/checksum.S +endif + +SRC_C_libdde_linux26_net_ip.a += \ + arch/l4/net.c \ + drivers/net/mii.c \ + net/core/skbuff.c \ + net/core/utils.c \ + net/core/dev.c \ + net/core/ethtool.c \ + net/core/link_watch.c \ + net/core/dev_mcast.c \ + net/core/neighbour.c \ + net/core/netevent.c \ + net/ethernet/eth.c \ + net/sched/sch_generic.c \ + arch/l4/inodes.c \ + mm/memory.c \ + net/core/filter.c \ + net/core/rtnetlink.c \ + net/core/sock.c \ + net/netlink/af_netlink.c \ + net/netlink/attr.c + +include $(PKGDIR)/linux26/Makeconf + +include $(L4DIR)/mk/lib.mk diff --git a/libdde-linux26/lib/src_ip/broken b/libdde-linux26/lib/src_ip/broken new file mode 100644 index 00000000..e69de29b diff --git a/libdde-linux26/lib/src_ip/linux/autoconf.h b/libdde-linux26/lib/src_ip/linux/autoconf.h new file mode 100644 index 00000000..7ddb3693 --- /dev/null +++ b/libdde-linux26/lib/src_ip/linux/autoconf.h @@ -0,0 +1,5 @@ +/* Include original DDE26 autoconf file */ +#include_next + +/* Because we do ! need INET support */ +#define CONFIG_INET 1 -- cgit v1.2.3