Author: sparky
Date: Sat Mar 18 00:28:01 2006
New Revision: 7214

Modified:
   ppcrcd/trunk/Makefile
   ppcrcd/trunk/net.pkgs
Log:
- net: replace ieee80211 modules with softmac
- Makefile: we need user read permissions


Modified: ppcrcd/trunk/Makefile
==============================================================================
--- ppcrcd/trunk/Makefile       (original)
+++ ppcrcd/trunk/Makefile       Sat Mar 18 00:28:01 2006
@@ -191,6 +191,7 @@
        #
        $(SU) find [EMAIL PROTECTED] -user $$USER | $(SU) xargs chown root
        $(SU) find [EMAIL PROTECTED] -group users | $(SU) xargs chgrp root
+       $(SU) chmod 755 [EMAIL PROTECTED]
        $(SU) mv [EMAIL PROTECTED],}
 
 

Modified: ppcrcd/trunk/net.pkgs
==============================================================================
--- ppcrcd/trunk/net.pkgs       (original)
+++ ppcrcd/trunk/net.pkgs       Sat Mar 18 00:28:01 2006
@@ -60,6 +60,7 @@
 $(R)/eagle-usb $(R)/kernel-usb-eagle:  $(P)/eagle-usb out/touch/kerneleq
 
 I +=   kernel-net-softmac
+POST += softmac_replace_ieee
 # -dist_kernel -kernel -smp -userspace +verbose
 $(R)/softmac-devel $(R)/kernel-net-softmac:    $(P)/softmac out/touch/kerneleq
 
@@ -268,4 +269,14 @@
        $(SU) umount out/root/stripped/dev
        touch $@
 
+out/touch/softmac_replace_ieee:        out/root/stripped
+       $(SU) rm -rf out/root/stripped/lib/modules/*/kernel/net/ieee80211
+       $(SU) rename sm_ "" \
+               out/root/stripped/lib/modules/*/kernel/net/sm_ieee80211
+       $(SU) rename sm_ "" \
+               out/root/stripped/lib/modules/*/kernel/net/ieee80211/sm_*
+       KVER=`ls out/root/stripped/lib/modules` && \
+               $(SU) chroot out/root/stripped /sbin/depmod -a $$KVER
+       touch $@
+
 # vim: syntax=make
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to