diff options
-rw-r--r-- | dde_e100/Makeconf.local | 6 | ||||
-rw-r--r-- | dde_e100/Makefile | 2 | ||||
-rw-r--r-- | dde_e1000/Makeconf.local | 6 | ||||
-rw-r--r-- | dde_e1000/Makefile | 2 | ||||
-rw-r--r-- | dde_ne2k_pci/Makeconf.local | 6 | ||||
-rw-r--r-- | dde_ne2k_pci/Makefile | 2 | ||||
-rw-r--r-- | dde_pcnet32/Makeconf.local | 6 | ||||
-rw-r--r-- | dde_pcnet32/Makefile | 2 | ||||
-rw-r--r-- | dde_rtl8139/Makeconf.local | 6 | ||||
-rw-r--r-- | dde_rtl8139/Makefile | 2 |
10 files changed, 35 insertions, 5 deletions
diff --git a/dde_e100/Makeconf.local b/dde_e100/Makeconf.local index c52bc65c..074df6e0 100644 --- a/dde_e100/Makeconf.local +++ b/dde_e100/Makeconf.local @@ -22,6 +22,12 @@ ifeq ($(strip $(has_libslab)),) libslab_path := $(BUILDDIR)/libhurd-slab/libhurd-slab.a endif +libbpf_path := ../libbpf/libbpf.a +has_libbpf := $(wildcard $(libbpf_path)) +ifeq ($(strip $(has_libbpf)),) + libbpf_path := $(BUILDDIR)/libbpf/libbpf.a +endif + DDEKITLIBDIR = $(PKGDIR)/../libddekit/ DDEKITINCDIR = $(PKGDIR)/../libddekit/include DDE26LIBDIR = $(PKGDIR)/lib/src diff --git a/dde_e100/Makefile b/dde_e100/Makefile index ed16f4cb..f5b2294a 100644 --- a/dde_e100/Makefile +++ b/dde_e100/Makefile @@ -7,7 +7,7 @@ TARGET = dde_e100 SRC_C = main.c e100.c -LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) -lbpf +LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) $(libbpf_path) CFLAGS += -g -I$(PKGDIR)/include -I../libmachdev # DDE configuration diff --git a/dde_e1000/Makeconf.local b/dde_e1000/Makeconf.local index 5b2e9082..44f70ab8 100644 --- a/dde_e1000/Makeconf.local +++ b/dde_e1000/Makeconf.local @@ -22,6 +22,12 @@ ifeq ($(strip $(has_libslab)),) libslab_path := $(BUILDDIR)/libhurd-slab/libhurd-slab.a endif +libbpf_path := ../libbpf/libbpf.a +has_libbpf := $(wildcard $(libbpf_path)) +ifeq ($(strip $(has_libbpf)),) + libbpf_path := $(BUILDDIR)/libbpf/libbpf.a +endif + DDEKITLIBDIR = $(PKGDIR)/../libddekit/ DDEKITINCDIR = $(PKGDIR)/../libddekit/include DDE26LIBDIR = $(PKGDIR)/lib/src diff --git a/dde_e1000/Makefile b/dde_e1000/Makefile index d9025d9d..137a69ef 100644 --- a/dde_e1000/Makefile +++ b/dde_e1000/Makefile @@ -7,7 +7,7 @@ TARGET = dde_e1000 SRC_C = main.c e1000_ethtool.c e1000_hw.c e1000_main.c e1000_param.c -LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) -lbpf +LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) $(libbpf_path) CFLAGS += -g -I$(PKGDIR)/include -I../libmachdev # DDE configuration diff --git a/dde_ne2k_pci/Makeconf.local b/dde_ne2k_pci/Makeconf.local index 5b2e9082..44f70ab8 100644 --- a/dde_ne2k_pci/Makeconf.local +++ b/dde_ne2k_pci/Makeconf.local @@ -22,6 +22,12 @@ ifeq ($(strip $(has_libslab)),) libslab_path := $(BUILDDIR)/libhurd-slab/libhurd-slab.a endif +libbpf_path := ../libbpf/libbpf.a +has_libbpf := $(wildcard $(libbpf_path)) +ifeq ($(strip $(has_libbpf)),) + libbpf_path := $(BUILDDIR)/libbpf/libbpf.a +endif + DDEKITLIBDIR = $(PKGDIR)/../libddekit/ DDEKITINCDIR = $(PKGDIR)/../libddekit/include DDE26LIBDIR = $(PKGDIR)/lib/src diff --git a/dde_ne2k_pci/Makefile b/dde_ne2k_pci/Makefile index 33b5cdfd..44e805e0 100644 --- a/dde_ne2k_pci/Makefile +++ b/dde_ne2k_pci/Makefile @@ -9,7 +9,7 @@ TARGET = dde_ne2k_pci SRC_C = main.c ne2k-pci.c 8390.c -LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) -lbpf +LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) $(libbpf_path) CFLAGS += -g -I$(PKGDIR)/include -I../libmachdev # DDE configuration diff --git a/dde_pcnet32/Makeconf.local b/dde_pcnet32/Makeconf.local index 5b2e9082..44f70ab8 100644 --- a/dde_pcnet32/Makeconf.local +++ b/dde_pcnet32/Makeconf.local @@ -22,6 +22,12 @@ ifeq ($(strip $(has_libslab)),) libslab_path := $(BUILDDIR)/libhurd-slab/libhurd-slab.a endif +libbpf_path := ../libbpf/libbpf.a +has_libbpf := $(wildcard $(libbpf_path)) +ifeq ($(strip $(has_libbpf)),) + libbpf_path := $(BUILDDIR)/libbpf/libbpf.a +endif + DDEKITLIBDIR = $(PKGDIR)/../libddekit/ DDEKITINCDIR = $(PKGDIR)/../libddekit/include DDE26LIBDIR = $(PKGDIR)/lib/src diff --git a/dde_pcnet32/Makefile b/dde_pcnet32/Makefile index e2aa5338..5b45cc14 100644 --- a/dde_pcnet32/Makefile +++ b/dde_pcnet32/Makefile @@ -7,7 +7,7 @@ TARGET = dde_pcnet32 SRC_C = main.c pcnet32.c -LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) -lbpf +LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) $(libbpf_path) CFLAGS += -g -I$(PKGDIR)/include -I../libmachdev # DDE configuration diff --git a/dde_rtl8139/Makeconf.local b/dde_rtl8139/Makeconf.local index 5b2e9082..44f70ab8 100644 --- a/dde_rtl8139/Makeconf.local +++ b/dde_rtl8139/Makeconf.local @@ -22,6 +22,12 @@ ifeq ($(strip $(has_libslab)),) libslab_path := $(BUILDDIR)/libhurd-slab/libhurd-slab.a endif +libbpf_path := ../libbpf/libbpf.a +has_libbpf := $(wildcard $(libbpf_path)) +ifeq ($(strip $(has_libbpf)),) + libbpf_path := $(BUILDDIR)/libbpf/libbpf.a +endif + DDEKITLIBDIR = $(PKGDIR)/../libddekit/ DDEKITINCDIR = $(PKGDIR)/../libddekit/include DDE26LIBDIR = $(PKGDIR)/lib/src diff --git a/dde_rtl8139/Makefile b/dde_rtl8139/Makefile index 4f76cd2b..16d3b764 100644 --- a/dde_rtl8139/Makefile +++ b/dde_rtl8139/Makefile @@ -9,7 +9,7 @@ TARGET = dde_rtl8139 SRC_C = main.c 8139cp.c -LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) -lbpf +LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path) $(libbpf_path) CFLAGS += -g -I$(PKGDIR)/include -I../libmachdev # DDE configuration |