【已解决】无法找到build/build_param

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
Post Reply
dav1d
Posts: 26

当我在/home/david/Documents/tuya/Projects/BK7231N_TuyaOS-3.3.4/software/TuyaOS 下使用make app_menuconfig
出现
Makefile:9: build/build_param: No such file or directory
make: *** No rule to make target 'build/build_param'. Stop.
但文件中存在
david@david-VirtualBox:~/Documents/tuya/Projects/BK7231N_TuyaOS-3.3.4/software/TuyaOS/build$ ls
build_param.template tuya_iot_ablity.json tuya_iot.config
我该如何解决?

dav1d
Posts: 26

Re: 无法找到build/build_param

我复制build_param.template内容,新建build_param后
输入app_menuconfig
david@david-VirtualBox:~/Documents/tuya/Projects/BK7231N_TuyaOS-3.3.4/software/TuyaOS$ make app_menuconfig
/bin/sh: 1: [: ./apps/cat:: unexpected operator
usage: menuconfig.py [-h] [KCONFIG]
menuconfig.py: error: unrecognized arguments: ./tmp/app_name.log: No such file or directory/build/APPconfig
make: *** [/home/david/Documents/tuya/Projects/BK7231N_TuyaOS-3.3.4/software/TuyaOS/scripts/mk/config.mk:70: app_menuconfig] Error 2

我是需要怎么解决?

yingtao_33
Posts: 245

Re: 无法找到build/build_param

你是编译什么应用?

dav1d
Posts: 26

Re: 无法找到build/build_param

yingtao_33 2023年 Sep 14日 15:49

你是编译什么应用?

你好,是/tuyaos_wf_bk7231n_elp-tuyaos_wf_bk7231n_elp_plug

yingtao_33
Posts: 245

Re: 无法找到build/build_param

请问你编译过一次了吗,在拿到包后需要先执行一次编译,此时会先拉取相应的环境。之后再执行make app_menuconfig 就可进行Kconfig配置了。记得把你手动复制的文件先删除

dav1d
Posts: 26

Re: 无法找到build/build_param

yingtao_33 2023年 Sep 14日 15:59

请问你编译过一次了吗,在拿到包后需要先执行一次编译,此时会先拉取相应的环境。之后再执行make app_menuconfig 就可进行Kconfig配置了。记得把你手动复制的文件先删除

谢谢你,编译后我可以通过app_menuconfig 编辑计量芯片

yingtao_33
Posts: 245

Re: 无法找到build/build_param

好的,不客气~

Post Reply