【发布时间】:2020-08-10 16:54:01
【问题描述】:
do_install_ptest () {
cp ${B}/Makefile ${D}${PTEST_PATH}
install ${B}/test-cmdline ${D}${PTEST_PATH}
install ${B}/test-features ${D}${PTEST_PATH}
install ${B}/ethtool ${D}${PTEST_PATH}/ethtool
sed -i 's/^Makefile/_Makefile/' ${D}${PTEST_PATH}/Makefile
}
在最后一行:
sed -i 's/^Makefile/_Makefile/' ${D}${PTEST_PATH}/Makefile
我不知道在Makefile中将'Makefile'替换为'_Makefile'的目的是什么。
【问题讨论】:
标签: sed makefile yocto bitbake openembedded