Skip to content

demonking/Dhollmen_Kernel

 
 

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 ***

# Sets environment
export DIRE=$PWD/Dhollmen
export KERNELDIR=$DIRE/Dhollmen_Kernel
export ARCH=arm

# Select toolchain you like to use
export CROSS_DIR=/opt/toolchains/Linaro-arm-eabi-4.8/bin
# or
export CROSS_DIR=/opt/toolchains/Google-arm-eabi-4.8/bin

export CROSS_COMPILE=$CROSS_DIR/arm-eabi-
export ARM_CROSS_COMPILE=$CROSS_COMPILE

# 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

# Copy config file for your tablet model
cp ./arch/arm/configs/dhollmen_P51XX_defconfig .config
# or
cp ./arch/arm/configs/dhollmen_P31XX_defconfig .config

# Compile
make ARCH=arm -j<n>      ##  <n> --> CPU cores + 1

# Copy kernel image
cp ./arch/arm/boot/zImage $DIRE/Zimage/

# Copy and strip modules
rm -f $DIRE/Modules/*
find . -type f -name *.ko -exec cp {} $DIRE/Modules/ \;
$"$CROSS_COMPILE"strip --strip-unneeded $DIRE/Modules/*.ko

cd $DIRE

About

Linux 3.0.101 - Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.6%
  • C++ 0.6%
  • Assembly 0.3%
  • Makefile 0.2%
  • Objective-C 0.2%
  • Perl 0.1%