aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xbuild.sh8
2 files changed, 4 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index cf8e39d..bafea10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,7 +47,7 @@ modules.builtin
/build
/bin/kernel.cyano.*.zip
/bin/kernel/zImage
-/bin/kernel/system/modules
+/bin/kernel/system/lib/modules
#
# git files that we don't want to ignore even it they are dot-files
diff --git a/build.sh b/build.sh
index b54f636..81fcaed 100755
--- a/build.sh
+++ b/build.sh
@@ -128,7 +128,7 @@ SenModulesToCMDevice()
# use for loop read all modules but not the last
for (( i=0; i<${tLen}-1; i++ ));
do
- echo ' device/samsung/'${BOARD}'/'${MODULEF[$i]}':system/modules/'${MODULEF[$i]}' \' >>$DEVICE_CM_DIR/KernelModules.mk
+ echo ' device/samsung/'${BOARD}'/'${MODULEF[$i]}':system/modules/'${MODULEF[$i]}' \' >>$DEVICE_CM_DIR/KernelModules.mk
echo ${MODULEF[$i]}
done
echo ' device/samsung/'${BOARD}'/'${MODULEF[$i]}':system/modules/'${MODULEF[$i]} >>$DEVICE_CM_DIR/KernelModules.mk
@@ -151,15 +151,13 @@ build ()
mka -C "$KERNEL_DIR" O="$target_dir" ARCH=arm HOSTCC="$CCACHE gcc" CROSS_COMPILE="$CCACHE $CROSS_PREFIX" zImage
RET=$?
if [[ $RET == 0 ]] ; then
- cp "$target_dir"/arch/arm/boot/zImage $DEVICE_CM_DIR/kernel
cp "$target_dir"/arch/arm/boot/zImage bin/kernel/zImage
MODULES=( $(find $target_dir/* -type f -name *.ko) )
for module in "${MODULES[@]}" ; do
echo $module
- cp "$module" $DEVICE_CM_DIR
- cp "$module" bin/system/modules
+ cp "$module" bin/system/lib/modules
done
- SenModulesToCMDevice
+ # SenModulesToCMDevice
CheckVersion
CreateKernelZip
UpgradeMinor