summaryrefslogtreecommitdiff
path: root/dde_rtl8139/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_rtl8139/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_rtl8139/Makefile')
-rw-r--r--dde_rtl8139/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/dde_rtl8139/Makefile b/dde_rtl8139/Makefile
index 1af8e179..9c490a8f 100644
--- a/dde_rtl8139/Makefile
+++ b/dde_rtl8139/Makefile
@@ -9,8 +9,8 @@ TARGET = dde_rtl8139
SRC_C = main.c 8139cp.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