mdk3: Fix parallel build

git-svn-id: svn://svn.openwrt.org/openwrt/packages@23338 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mb 2010-10-08 20:38:17 +00:00
parent c386f41111
commit 5700c59f10
2 changed files with 19 additions and 0 deletions

View File

@ -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_URL:=http://homepages.tu-darmstadt.de/~p_larbig/wlan/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/mdk3 define Package/mdk3

View File

@ -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