No rule to make target 'package/helloworld/install'. Stop

时间:2018-07-25 05:14:16

标签: openwrt

I am new to openWRT. I have compiled the openWRT source code by following the steps from this site.

I have created a new component and tried to execute make package/helloworld/install -j1 V=s in the openwrt path and before package folder. The steps looks to be simple, but I am getting an error as No rule to make target /package/helloworld/insatll Stop.

Can someone suggest if i have been missing, So I can add any more statements. Blocking at step 1 itself. Your help is worth!!

Thanks in Advance..

1 个答案:

答案 0 :(得分:1)

将具有目录地址的变量source_dir添加到makefile中的代码中。例如:

SOURCE_DIR:=/home/johndoe/helloworld

您还需要使用以下方法更新软件包供稿:

cd /home/johndoe/openwrt
./scripts/feeds update mypackages
./scripts/feeds install -a -p mypackages

该教程看起来也很旧。在以下位置尝试hello world示例: Hello OpenWRT