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”的目的是什么。
发布于 2020-04-29 21:18:05
这可能是有关Makefile本身如何工作的一些细节,您必须详细阅读Makefile才能解决这个问题。
https://stackoverflow.com/questions/61453732
复制相似问题