From 321a5780bb1e4257077c47145bb2fa6778521990 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20B=C3=BCsch?= Date: Fri, 8 Oct 2010 20:38:17 +0000 Subject: [PATCH] mdk3: Fix parallel build SVN-Revision: 23338 --- net/mdk3/Makefile | 2 ++ net/mdk3/patches/010-fix-dependencies.patch | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 net/mdk3/patches/010-fix-dependencies.patch diff --git a/net/mdk3/Makefile b/net/mdk3/Makefile index 9b879d6577..735523e56e 100644 --- a/net/mdk3/Makefile +++ b/net/mdk3/Makefile @@ -16,6 +16,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/mdk3-$(PKG_VERSION) PKG_SOURCE_URL:=http://homepages.tu-darmstadt.de/~p_larbig/wlan/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_BUILD_PARALLEL:=1 + include $(INCLUDE_DIR)/package.mk define Package/mdk3 diff --git a/net/mdk3/patches/010-fix-dependencies.patch b/net/mdk3/patches/010-fix-dependencies.patch new file mode 100644 index 0000000000..fe8d7aabb3 --- /dev/null +++ b/net/mdk3/patches/010-fix-dependencies.patch @@ -0,0 +1,17 @@ +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- mdk3-v6.orig/Makefile ++++ mdk3-v6/Makefile +@@ -18,8 +18,8 @@ osd: + $(LIBOSD): + $(MAKE) -C $(OSD) + +-mdk3: mdk3.c $(OSD)/libosdep.a +- $(CC) $(CFLAGS) $(LINKFLAGS) $^ -o $@ $(LIBS) ++mdk3: $(LIBOSD) mdk3.c ++ $(CC) $(CFLAGS) $(LINKFLAGS) mdk3.c $(OSD)/lib$(OSD).a -o $@ $(LIBS) + + install: mdk3 + $(MAKE) -C $(OSD) install -- 2.30.2