tuxafgmur/OLD_Dhollmen_Kernel
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Dhollmen Kernel Copyright by their respective authors. Code not attributable to another one is from my own authorship. Credits to Kernel-Team, Samsung, Google, CyanogenMod and everyone who has contributed. ***** HOW TO COMPILE ***** # Environment export DIRE=$PWD/Dhollmen export KERNELDIR=$DIRE/Dhollmen_Kernel export ARCH=arm # Toolchain to use export CROSS_DIR=/opt/toolchains/Google-arm-linux-androideabi-4.9/bin # or export CROSS_DIR=/opt/toolchains/Linaro-arm-linux-androideabi-4.9/bin export CROSS_COMPILE=$CROSS_DIR/arm-linux-androideabi- # Create directories mkdir -p $DIRE mkdir -p $DIRE/Modules mkdir -p $DIRE/Zimage cd $DIRE # Get kernel sources git clone https://github.com/Dhollmen/Dhollmen_Kernel cd $KERNELDIR # Fresh build directory rm -rf ./Out mkdir -p ./Out # Copy def config file make O=./Out dhollmen_espresso_defconfig # Build the kernel make -j<n> O=./Out ## <n> = --> CPU cores + 1 # Copy kernel image cp ./Out/arch/arm/boot/zImage $DIRE/Zimage/ # Copy and strip modules rm -f $DIRE/Modules/* find ./Out/. -type f -name *.ko -exec cp {} $DIRE/Modules/ \; $"$CROSS_COMPILE"strip --strip-unneeded $DIRE/Modules/*.ko cd $DIRE
About
Discontinued
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published