led驱动make后出现“ No rule to make target”
被这个错误折磨了很久具体错误信息如下:
make -C /linux-2.6.22.6 M='pwd' modules
make[1]: Entering directory `/linux-2.6.22.6'
scripts/Makefile.build:17: /linux-2.6.22.6/pwd/Makefile: No such file or directory
make[2]: *** No rule to make target `/linux-2.6.22.6/pwd/Makefile'. Stop.
make[1]: *** [_module_pwd] Error 2
make[1]: Leaving directory `/linux-2.6.22.6'
make: *** [all] Error 2
makefile内容如下:
虚拟机系统:ubuntu10.10
linux内核目录:

frist_drv存放目录:

希望知道的朋友帮忙解决解决。
make -C /linux-2.6.22.6 M='pwd' modules
make[1]: Entering directory `/linux-2.6.22.6'
scripts/Makefile.build:17: /linux-2.6.22.6/pwd/Makefile: No such file or directory
make[2]: *** No rule to make target `/linux-2.6.22.6/pwd/Makefile'. Stop.
make[1]: *** [_module_pwd] Error 2
make[1]: Leaving directory `/linux-2.6.22.6'
make: *** [all] Error 2
makefile内容如下:
KVERS = /linux-2.6.22.6
#PWD = $(shell pwd)
all:
make -C $(KVERS) M='pwd' modules
clean:
make -C $(KVERS) M='pwd' modules clean
rm -rf modules.order
obj-m += frist_drv.o
虚拟机系统:ubuntu10.10
linux内核目录:
frist_drv存放目录:
希望知道的朋友帮忙解决解决。
...全文
相关推荐
skopos theory翻译功能目的论.ppt
skopos theory翻译功能目的论.ppt
ledcat:通过许多协议控制许多LED
发光猫 Ledcat是一种简单实用程序,旨在提供用于驱动LED灯条等的标准接口。 只需创建一个程序,为条带中的每个像素输出3字节的RGB。 文献资料 安装 安装Ledcat的最简单方法是。 注意:CI版本中不提供Hzeller的LED矩阵驱动器。 从货运安装 如果尚未安装,请先安装。 然后,您可以直接使用Cargo安装ledcat。 cargo install ledcat 手动构建 另外,您可以手动构建和安装Ledcat: git clone https://github.com/polyfloyd/ledcat.git cd ledcat cargo build --release cp target/release/ledcat /usr/local/bin/ledcat 使用范例 # Make a strip of 30 apa102 leds all red. pe
IAR TI MSP430 LaunchPadf
IAR TI MSP430 LaunchPadf,上手msp430必看资料
LoRa_Gateway——MT7628AN开发笔记.docx
关于openwrt开发笔记,出现的问题的解决笔记!其中涉及增加make menuconfig中sub target和profile的配置项修改记录,GPIO功能开启涉及的DTS文件修改。SX1301_LoraWAN驱动部分暂时未加入!
手把手教你使用TI MSP430 LaunchPad
手把手教你使用TI MSP430 LaunchPad,初级入门专用


驱动开发/核心开发
