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

freertos-variscite: Fix compile failure when do_compile is rerun #29

Open
wants to merge 1 commit into
base: kirkstone-var02
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion recipes-bsp/freertos-variscite/freertos-variscite.inc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ do_compile() {
# Copy and patch hello_world demo to disable_cache demo
if [ -e "${WORKDIR}/${DISABLE_CACHE_PATCH}" ]; then
# Copy hello_world demo
cp -r ${S}/boards/${CM_BOARD}/demo_apps/hello_world/ ${S}/boards/${CM_BOARD}/demo_apps/disable_cache
mkdir -p ${S}/boards/${CM_BOARD}/demo_apps/disable_cache
cp -ru ${S}/boards/${CM_BOARD}/demo_apps/hello_world/* ${S}/boards/${CM_BOARD}/demo_apps/disable_cache/
# Rename hello_world strings to disable_cache
grep -rl hello_world ${S}/boards/${CM_BOARD}/demo_apps/disable_cache | xargs sed -i 's/hello_world/disable_cache/g'
# Rename hello_world files to disable_cache
Expand Down