Changeset 3004


Ignore:
Timestamp:
2006-01-17T16:45:36+01:00 (12 years ago)
Author:
nico
Message:

add a patch to export various kernel symbols in lib/string.c (like in 2.6),
fix shfs build on 2.4 (hopefully, but no real tests yet)

Location:
trunk/openwrt/target/linux
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/linux/package/shfs/patches/101-kmod_build.patch

    r1085 r3004  
    11--- shfs-0.35-orig/shfs/Linux-2.4/Makefile      2004-06-01 15:16:19.000000000 +0200 
    22+++ shfs-0.35-2/shfs/Linux-2.4/Makefile 2005-04-09 02:34:35.000000000 +0200 
    3 @@ -1,3 +1,17 @@ 
     3@@ -1,3 +1,13 @@ 
    44+# 
    55+# the original Makefile was trashed and replaced by this one 
     
    1111+#   make -C $(KERNEL_DIR) SUBDIRS="$(shell pwd)" modules_install 
    1212+# 
    13 +# 
    14 +# $(TOPDIR)/lib/string.o is needed at link time because the memchr function  
    15 +# is not exported on mips (insmod: unresolved symbol memchr) 
    16 +# 
    1713+ 
    1814 ifndef KERNEL 
    1915 KERNEL=$(shell uname -r) 
    2016 endif 
    21 @@ -10,67 +24,30 @@ 
     17@@ -10,67 +24,29 @@ 
    2218 KERNEL_SOURCES=${MODULESDIR}/build 
    2319 endif 
     
    10096+ 
    10197+shfs.o: $(shfs-objs) 
    102 +       $(LD) -r -o $@ $(shfs-objs) $(TOPDIR)/lib/string.o 
    10398+ 
Note: See TracChangeset for help on using the changeset viewer.