summaryrefslogtreecommitdiff
path: root/dde_pcnet32/Makeconf.local
diff options
context:
space:
mode:
Diffstat (limited to 'dde_pcnet32/Makeconf.local')
-rw-r--r--dde_pcnet32/Makeconf.local20
1 files changed, 20 insertions, 0 deletions
diff --git a/dde_pcnet32/Makeconf.local b/dde_pcnet32/Makeconf.local
index 3d03134b..5b2e9082 100644
--- a/dde_pcnet32/Makeconf.local
+++ b/dde_pcnet32/Makeconf.local
@@ -2,6 +2,26 @@ SYSTEMS = x86-l4v2
ARCH = x86
SYSTEM = x86-l4v2
+BUILDDIR ?=
+
+libmachdev_path := ../libmachdev/libmachdev.a
+has_libmachdev := $(wildcard $(libmachdev_path))
+ifeq ($(strip $(has_libmachdev)),)
+ libmachdev_path := $(BUILDDIR)/libmachdev/libmachdev.a
+endif
+
+libddekit_path := ../libddekit/libddekit.a
+has_libddekit := $(wildcard $(libddekit_path))
+ifeq ($(strip $(has_libddekit)),)
+ libddekit_path := $(BUILDDIR)/libddekit/libddekit.a
+endif
+
+libslab_path := ../libhurd-slab/libhurd-slab.a
+has_libslab := $(wildcard $(libslab_path))
+ifeq ($(strip $(has_libslab)),)
+ libslab_path := $(BUILDDIR)/libhurd-slab/libhurd-slab.a
+endif
+
DDEKITLIBDIR = $(PKGDIR)/../libddekit/
DDEKITINCDIR = $(PKGDIR)/../libddekit/include
DDE26LIBDIR = $(PKGDIR)/lib/src