Quote:
Originally Posted by Charles481
I'm Haret user.Would you tell me how to make modules-2.6.27.46-01192-version.tar.gz? The modules folder only have lib folder.
-----------------------------------------------------------------------------------------------
Another question.
I get this when i compiling the zImage and modules.
It doesn't matter?
|
Just Copy and paste this to your script. It should work fine... From his orginal code before we update to squash.
Code:
echo "Compress modules to a tar.gz and move to output dir"
KER_VER="$(cat $KERNEL_PATH/include/config/kernel.release)"
cd $OUTPUT_PATH/modules
MODULES=$(find -name "*.ko")
for i in $MODULES ; do
cp $i $OUTPUT_PATH/kernel/modules
done
cd $OUTPUT_PATH/kernel
tar -cvzf $OUTPUT_PATH/kernel/$KER_VER.tar.gz modules
Not sure what you are asking with your second question.