alanwhy

关注

linux 2.6 编译模块得makefile写法

alanwhy

关注

阅读 54

2022-02-10

obj-m := uda1341.o
KERNEL_PATH := /home/cody/mini2440/linux-2.6.32.2
ccflags-y := -I$(KERNEL_PATH)/include
all:
	make -C $(KERNEL_PATH) M=$(PWD) modules
clean:
	make -C $(KERNEL_PATH) M=$(PWD) clean

相关推荐

yellowone

Linux下makefile 编译项目

yellowone 27 0 0

写心之所想

android编译系统的makefile文件Android.mk写法如下

写心之所想 79 0 0

女侠展昭

嵌入式Linux中Makefile万能写法

女侠展昭 64 0 0

奔跑的酆

linux | vscode | makefile | c++编译和调试

奔跑的酆 60 0 0

一葉_code

编译Linux内核2.6,并使用GRUB引导启动

一葉_code 47 0 0

生态人

Makefile编译静态库

生态人 49 0 0

转角一扇门

Linux---gcc编译过程与Makefile语法规则

转角一扇门 66 0 0

金刚豆

【Linux】 Linux makefile 教程

金刚豆 32 0 0

非常帅气的昵称吧

Makefile编译静态库2

非常帅气的昵称吧 69 0 0

cnlinkchina

以makefile的方式在linux上编译代码(小白级别)

cnlinkchina 46 0 0

精彩评论(0)

0 0 举报