fix build_fixes patch for ar7 kernel
authorFelix Fietkau <nbd@openwrt.org>
Fri, 11 Nov 2005 22:53:18 +0000 (22:53 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 11 Nov 2005 22:53:18 +0000 (22:53 +0000)
SVN-Revision: 2440

openwrt/target/linux/linux-2.4/patches/generic/209-build_fixes.patch

index 1c85437a56ebcc5d9b97d93adf212015844da455..235ee042a59e5a8b1cfe251a8f5e31527051744a 100644 (file)
@@ -41,7 +41,7 @@ diff -urN linux.old/Makefile linux.dev/Makefile
 +              `$(NM) $$f | cut -f3- -d' ' | sed -n \
 +                      -e 's/__module_parm_\(.*\)/-K \1/p' \
 +                      -e 's/__ks..tab_\(.*\)/-K \1/p'` \
-+              $$f $(MODLIB)/kernel/$(MOD_DESTDIR)$(MOD_TARGET)$$f; \
++              $$f $(MODLIB)/kernel/$(MOD_DESTDIR)$(MOD_TARGET)`basename $$f`; \
 +      done
  endif