Skip to content

Commit

Permalink
add cross compile to config_site
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Mar 11, 2024
1 parent 7db9184 commit 89f825d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion epics/scripts/patch-epics-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@ if [[ $TARGET_ARCHITECTURE == "RTEMS-beatnik" ]]; then
echo "Configuring epics-base to build RTEMS beatnik"

cp ${THIS_DIR}/rtems/CONFIG_SITE.local ${EPICS_BASE}/configure/CONFIG_SITE.local
fi
elif [[ $TARGET_ARCHITECTURE != "linux-x86_64" ]]; then
echo "Configuring epics-base for target ${TARGET_ARCHITECTURE}"

touch ${EPICS_BASE}/configure/CONFIG_SITE.local
echo CROSS_COMPILER_TARGET_ARCHS=${TARGET_ARCHITECTURE} >> \
${EPICS_BASE}/configure/CONFIG_SITE.local
fi

0 comments on commit 89f825d

Please sign in to comment.