Commit 62365ed7 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

makefile-not-found exit 1

parent 97fb9b46
......@@ -21,6 +21,13 @@ EXTRA_OEMAKE = " \
STAGING_DIR_HOST=${STAGING_DIR_HOST} \
"
do_compile_prepend() {
if [ ! -f Makefile ]; then
echo "Nothing to compile (missing a Makefile)"
exit 1
fi
}
do_install_append() {
oe_runmake ${EXTRA_OEMAKE} install
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment