summaryrefslogtreecommitdiff
path: root/dde_ne2k_pci/Makeconf.local
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 13:01:53 +0000
commit77bb7e1f79514aa03a171645429f512efc89f5d7 (patch)
tree9e6cf449b587aa5fa4c26e0c6c4d78a756640589 /dde_ne2k_pci/Makeconf.local
parent2e69242ae8179f9012722071d1af3cfcac4cdc5e (diff)
Simplify link flags computation
Diffstat (limited to 'dde_ne2k_pci/Makeconf.local')
-rw-r--r--dde_ne2k_pci/Makeconf.local29
1 files changed, 5 insertions, 24 deletions
diff --git a/dde_ne2k_pci/Makeconf.local b/dde_ne2k_pci/Makeconf.local
index 44f70ab8..fb8e6ae6 100644
--- a/dde_ne2k_pci/Makeconf.local
+++ b/dde_ne2k_pci/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