Skip to content

Commit

Permalink
update module script
Browse files Browse the repository at this point in the history
  • Loading branch information
chris41g committed Oct 12, 2011
1 parent 3a3d6e0 commit 6e863c4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
Binary file modified initramfs/lib/modules/dhd.ko
Binary file not shown.
4 changes: 2 additions & 2 deletions ncBuildHelper.sh
Expand Up @@ -9,7 +9,7 @@


# define envvars # define envvars
TARGET="LoStKernel" TARGET="LoStKernel"
KBUILD_BUILD_VERSION="LoStKernel-v1.0.1.3" KBUILD_BUILD_VERSION="LoStKernel-v1.0.2.0"
CROSS_COMPILE="/home/chris41g/arm-2009q3/bin/arm-none-linux-gnueabi-" CROSS_COMPILE="/home/chris41g/arm-2009q3/bin/arm-none-linux-gnueabi-"


# define defaults # define defaults
Expand All @@ -28,7 +28,7 @@ WIRED_FLASH=n
# define vars # define vars
MKZIP='7z -mx9 -mmt=1 a "$OUTFILE" .' MKZIP='7z -mx9 -mmt=1 a "$OUTFILE" .'
THREADS=$(expr 1 + $(grep processor /proc/cpuinfo | wc -l)) THREADS=$(expr 1 + $(grep processor /proc/cpuinfo | wc -l))
VERSION='1.0.1.3' VERSION='1.0.2.0'
ERROR_MSG= ERROR_MSG=
TIME_START= TIME_START=
TIME_END= TIME_END=
Expand Down
16 changes: 9 additions & 7 deletions scripts/update_modules.sh
Expand Up @@ -10,7 +10,7 @@


#define base paths #define base paths
P_DIR="/home/chris41g/android/LoStKernel" P_DIR="/home/chris41g/android/LoStKernel"
SRC_BASE="$P_DIR/Kernel/drivers" SRC_BASE="$P_DIR/Kernel"
DST_BASE="initramfs/lib/modules" DST_BASE="initramfs/lib/modules"
CC_STRIP="/home/chris41g/arm-2009q3/bin/arm-none-linux-gnueabi-strip" CC_STRIP="/home/chris41g/arm-2009q3/bin/arm-none-linux-gnueabi-strip"


Expand Down Expand Up @@ -39,12 +39,13 @@ SHOW_HELP()


if [ "$1" == "cp" ] || [ "$1" == "copy" ] ; then if [ "$1" == "cp" ] || [ "$1" == "copy" ] ; then
#copy modules #copy modules
COPY_WITH_ECHO "bluetooth/bthid/bthid.ko" "bthid.ko" COPY_WITH_ECHO "drivers/bluetooth/bthid/bthid.ko" "bthid.ko"
COPY_WITH_ECHO "samsung/j4fs/j4fs.ko" "j4fs.ko" COPY_WITH_ECHO "drivers/samsung/j4fs/j4fs.ko" "j4fs.ko"
COPY_WITH_ECHO "scsi/scsi_wait_scan.ko" "scsi_wait_scan.ko" COPY_WITH_ECHO "drivers/scsi/scsi_wait_scan.ko" "scsi_wait_scan.ko"
COPY_WITH_ECHO "net/wireless/bcm4330/dhd.ko" "dhd.ko" COPY_WITH_ECHO "drivers/net/wireless/bcm4330/dhd.ko" "dhd.ko"
COPY_WITH_ECHO "samsung/vibetonz/vibrator.ko" "vibrator.ko" COPY_WITH_ECHO "drivers/samsung/vibetonz/vibrator.ko" "vibrator.ko"
COPY_WITH_ECHO "staging/westbridge/astoria/switch/cyasswitch.ko" "cyasswitch.ko" COPY_WITH_ECHO "drivers/staging/westbridge/astoria/switch/cyasswitch.ko" "cyasswitch.ko"
COPY_WITH_ECHO "fs/cifs/cifs.ko" "cifs.ko"


exit 0 exit 0
fi fi
Expand All @@ -57,6 +58,7 @@ if [ "$1" == "st" ] || [ "$1" == "strip" ] ; then
#STRIP_WITH_ECHO "dhd.ko" #STRIP_WITH_ECHO "dhd.ko"
#STRIP_WITH_ECHO "vibrator.ko" #STRIP_WITH_ECHO "vibrator.ko"
STRIP_WITH_ECHO "scsi_wait_scan.ko" STRIP_WITH_ECHO "scsi_wait_scan.ko"
STRIP_WITH_ECHO "cifs.ko"
exit 0 exit 0
fi fi


Expand Down

0 comments on commit 6e863c4

Please sign in to comment.