summaryrefslogtreecommitdiff
path: root/dde_pcnet32
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 13:01:53 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 15:47:43 +0000
commit5389b476b0c88d1555186fb8f4e68a5bc198d348 (patch)
tree3c50f08d8acaba6fe4421da2a6f38ae5ea74a4d5 /dde_pcnet32
parent8c81ab52c0bc8aecf65f178fd9b9511e20850972 (diff)
Simplify link flags computation
Diffstat (limited to 'dde_pcnet32')
-rw-r--r--dde_pcnet32/Makeconf.local29
1 files changed, 5 insertions, 24 deletions
diff --git a/dde_pcnet32/Makeconf.local b/dde_pcnet32/Makeconf.local
index 44f70ab8..fb8e6ae6 100644
--- a/dde_pcnet32/Makeconf.local
+++ b/dde_pcnet32/Makeconf.local
@@ -2,31 +2,12 @@ SYSTEMS = x86-l4v2
ARCH = x86
SYSTEM = x86-l4v2
-BUILDDIR ?=
+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
-
-libbpf_path := ../libbpf/libbpf.a
-has_libbpf := $(wildcard $(libbpf_path))
-ifeq ($(strip $(has_libbpf)),)
- libbpf_path := $(BUILDDIR)/libbpf/libbpf.a
-endif
+libmachdev_path := $(BUILDDIR)/libmachdev/libmachdev.a
+libddekit_path := $(BUILDDIR)/libddekit/libddekit.a
+libslab_path := $(BUILDDIR)/libhurd-slab/libhurd-slab.a
+libbpf_path := $(BUILDDIR)/libbpf/libbpf.a
DDEKITLIBDIR = $(PKGDIR)/../libddekit/
DDEKITINCDIR = $(PKGDIR)/../libddekit/include