[网络] linux设备驱动Makefile

[复制链接]
发表于 2022-11-13 11:13:48
Linux2.4内核中,模块的编译只需求内核源码头文件,并在包括linux/modules.h头文件之前定义MODULES,且其编译、连接后生成的内核模块后缀为.o。而在2.6内核中,模块的编译需求依赖配置过的内核源码,编译进程首要会到内核源码对象下,读取顶层的Makefile文件,且编译、连接后生成的内核模块后缀为.ko

(In the Linux 2.4 kernel, the compilation of modules only requires the kernel source dock file, and the MODULES is defined before the Linux/modules. h header file is included, and the suffix of the kernel modules generated after the compilation and connection is. o. In the 2.6 kernel, the compilation requirements of modules depend on the configured kernel source code. The compilation process will first go to the kernel source code object to read the top-level Makefile file, and the suffix of the kernel module generated after compilation and connection is. ko)

[下载]11134751067.rar




上一篇:在windows环境下使用Eclipse开发UNIX所需配置
下一篇:Linux软件包的配置、编译与安装

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表