use "${BUILD_DIR}" instead of "${WORKDIR}"/${P}_build