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
--- /dev/null
+---
+ 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