diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-18 22:19:45 +0000 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-18 22:19:45 +0000 |
| commit | 460c6d143b81dd38941ee28c59486fb96e87995b (patch) | |
| tree | 555eef2de9d106ff4bb344d04a775f6c8b0ae24d /dde_e1000 | |
| parent | 1a80b97889fbf87c3448158e01964885e306dd9d (diff) | |
include bpf in link
Diffstat (limited to 'dde_e1000')
| -rw-r--r-- | dde_e1000/Makeconf.local | 6 | ||||
| -rw-r--r-- | dde_e1000/Makefile | 2 |
2 files changed, 7 insertions, 1 deletions
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 |
