Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bbnote instead echo in tasks #246

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions recipes-bsp/dt-overlay-mchp/dt-overlay-mchp_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ do_compile[nostamp] = "1"
do_compile () {
# Check to properly identify the board
if [ -z "${AT91BOOTSTRAP_MACHINE}" ]; then
echo "No AT91BOOTSTRAP_MACHINE set for ${MACHINE}"
bbnote "No AT91BOOTSTRAP_MACHINE set for ${MACHINE}"
exit 1
fi

if [ -d "${AT91BOOTSTRAP_MACHINE}" ]; then
echo "Compiling DTBOs"
bbnote "Compiling DTBOs"
oe_runmake DTC=dtc KERNEL_DIR=${STAGING_KERNEL_DIR} KERNEL_BUILD_DIR=${KERNEL_PATH} ${AT91BOOTSTRAP_MACHINE}_dtbos
else
echo "No DTBOs to compile"
bbnote "No DTBOs to compile"
fi

# Over-ride itb target in Makefile
if [ -e "${AT91BOOTSTRAP_MACHINE}.its" ]; then
echo "Creating the FIT image"
bbnote "Creating the FIT image"
DTC_OPTIONS="-Wno-unit_address_vs_reg -Wno-graph_child_address -Wno-pwms_property"
mkimage -D "-i${DEPLOY_DIR_IMAGE} -p 1000 ${DTC_OPTIONS}" -f ${AT91BOOTSTRAP_MACHINE}.its ${AT91BOOTSTRAP_MACHINE}.itb
else
echo "No its file to create FIT images"
bbnote "No its file to create FIT images"
fi
}

Expand All @@ -69,7 +69,7 @@ do_install () {
addtask deploy after do_install

do_deploy () {
#echo "Copying ${fit_image_basename}.itb and source file to ${DEPLOYDIR}..."
#bbnote "Copying ${fit_image_basename}.itb and source file to ${DEPLOYDIR}..."
if [ -e ${AT91BOOTSTRAP_MACHINE}.itb ]; then
install ${AT91BOOTSTRAP_MACHINE}.itb ${DEPLOYDIR}/
install ${AT91BOOTSTRAP_MACHINE}.its ${DEPLOYDIR}/
Expand Down
4 changes: 2 additions & 2 deletions recipes-bsp/u-boot/u-boot-envs-atmel.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ ENV_FILEPATH = "${WORKDIR}/envs"

do_compile:append() {
if [ -e "${ENV_FILEPATH}/${MACHINE}.txt" ]; then
echo "Compile U-Boot environment for ${MACHINE}"
bbnote "Compile U-Boot environment for ${MACHINE}"
${B}/tools/mkenvimage ${MKENVIMAGE_EXTRA_ARGS} -s ${UBOOT_ENV_SIZE} ${ENV_FILEPATH}/${MACHINE}.txt -o ${ENV_FILENAME}
else
echo "No custom environment available for ${MACHINE}."
bbnote "No custom environment available for ${MACHINE}."
fi
}

Expand Down