Category:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
0
1
2
3
4
5
6
7
8
9
Position:IcFull.com » IC Electronic information » HEF4046BT Suppliers<

HEF4046BT Suppliers

kbuild system - compiled kernel module

In Electronic Infomation Category: k | on December 13,2010

Linux kernel is a single core, but by way of dynamically loaded modules, making it very flexible and HEF4046BT datasheet and convenient development. So, it is how to compile the kernel it? We can start by analyzing its Makefile. The following is a simple hello kernel module Makefile. ifneq ($ (KERNELRELEASE ),) obj-m: = hello.o else KERNELDIR: = / lib / modules / $ (shell uname-r) / build PWD: = $ (shell pwd) default: $ (MAKE)-C $ (KERNELDIR) M = $ (PWD) modules clean: rm-rf *. o *. mod.c *. mod.o *. ko endif hello when we finish a module, just use the above makefile. And then make click on the line. hello module, we assume that the source code in / home / study / prog / mod / hello / under. When we make in this directory when you run, make is how to implement it? LDD3 Chapter IV "comp...

Read the rest of this entry

HEF4046BT datasheetHEF4046BT suppliersHEF4046BT Price

All right reserved:icfull.com © 2010-2016 Certificate