summaryrefslogtreecommitdiff
path: root/dde_e1000/Makefile
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-06-15 17:50:34 +0200
committerZheng Da <zhengda1936@gmail.com>2010-06-15 17:50:34 +0200
commite0c7d9e618426c0cf8764a6ff126af6ea638e0b1 (patch)
treeffebe0df8a6d6f534078bb49675d619ede4a1428 /dde_e1000/Makefile
parent9cd3c840876b1f3ea79ab810a5b00d9931749631 (diff)
handle the case hurd is built in a separate dir.
if hurd is built in its source tree, nothing needs to be changed. but if hurd is built in a separate directory, BUILDDIR has to specify the path where hurd is built.
Diffstat (limited to 'dde_e1000/Makefile')
-rw-r--r--dde_e1000/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/dde_e1000/Makefile b/dde_e1000/Makefile
index ffdc17ab..ea73128d 100644
--- a/dde_e1000/Makefile
+++ b/dde_e1000/Makefile
@@ -1,16 +1,14 @@
PKGDIR ?= ../libdde_linux26
L4DIR ?= $(PKGDIR)
-SYSTEMS = x86-l4v2
-
include Makeconf.local
TARGET = dde_e1000
SRC_C = main.c e1000_ethtool.c e1000_hw.c e1000_main.c e1000_param.c
-LIBS += ../libmachdev/libmachdev.a -ldde_linux26.o -ldde_linux26_net ../libddekit/libddekit.a -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports -lhurd-slab
-CFLAGS += -g -I/include
+LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path)
+CFLAGS += -g -I$(PKGDIR)/include -I../libmachdev
# DDE configuration
include $(L4DIR)/Makeconf