forked from CyanogenMod/cm-kernel
-
Notifications
You must be signed in to change notification settings - Fork 3
/
modules
executable file
·29 lines (15 loc) · 1.59 KB
/
modules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
export KERNEL_DIR=$PWD
cp -f $KERNEL_DIR/arch/arm/boot/zImage ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/kernel/kernel > /dev/null
find $KERNEL_DIR -name wlan.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name cifs.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name fuse.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name lockd.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name nfs.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name nfs_acl.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name mip6.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name auth_rpcgss.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name sunrpc.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name rpcsec_gss_krb5.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
find $KERNEL_DIR -name ramzswap.ko -exec cp -f '{}' ~/android2.3.7/system/device/htc/dream-sapphire/prebuilt/modules/ \; > /dev/null
exit #