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
}
In the last line:
sed -i 's/^Makefile/_Makefile/' ${D}${PTEST_PATH}/Makefile
I don't know what's the purpose to replace 'Makefile' to '_Makefile' in Makefile.