ppcrcd/trunk: Makefile net.pkgs
sparky
cvs at pld-linux.org
Sat Mar 18 00:28:07 CET 2006
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 $@.work -user $$USER | $(SU) xargs chown root
$(SU) find $@.work -group users | $(SU) xargs chgrp root
+ $(SU) chmod 755 $@.work
$(SU) mv $@{.work,}
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
More information about the pld-cvs-commit
mailing list