README_Kernel.txt

(1 KB) Pobierz
################################################################################

1. How to Build
	- get Toolchain
		From android git server , codesourcery and etc ..
		 - arm-eabi-4.6
		
	- edit Makefile
		edit "CROSS_COMPILE" to right toolchain path(You downloaded).
		  EX)  CROSS_COMPILE= $(android platform directory you download)/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
          Ex)  CROSS_COMPILE=/usr/local/toolchain/arm-eabi-4.6/bin/arm-eabi-          // check the location of toolchain
	
	$ make ARCH=arm klimtlte_00_defconfig
	$ make ARCH=arm
	
2. Output files
	- Kernel : Kernel/arch/arm/boot/zImage
	- module : Kernel/drivers/*/*.ko
	
3. How to Clean	
    $ make clean
	
4. How to make .tar binary for downloading into target.
	- change current directory to Kernel/arch/arm/boot
	- type following command
	$ tar cvf SM-T705_EUR.tar zImage
#################################################################################

				WARNING!

Do not edit configuration by
make menuconfig
New configuration will be forgotten after issuing required command:
make ARCH=arm klimtlte_00_defconfig

You can still use menuconfig to view default configuration.
To compile driver, change its default settings from
default=n
to
default=y
or
default=m
if you wish to compile it as a module (preferred), by issuing following commands:
make ARCH=arm klimtlte_00_defconfig
make ARCH=arm modules
Zgłoś jeśli naruszono regulamin