Skip to content

Commit

Permalink
add an rtems config_site (experimental)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jan 20, 2025
1 parent e68591c commit e3dd2da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _global/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@ NAME=${1}
FOLDER=$(dirname $(readlink -f $0))

x86_cfg='configure/CONFIG_SITE.Common.linux-x86_64'
rtems_cfg='configure/CONFIG_SITE.Common.RTEMS-beatnik'
support_x86=${SUPPORT}/${NAME}/${x86_cfg}
support_rtems=${SUPPORT}/${NAME}/${rtems_cfg}

echo "support_x86: ${support_x86}"

# for RTEMS builds don't build for the host architecture, target only
if [[ $EPICS_TARGET_ARCH == "RTEMS"* ]]; then
touch ${support_x86}
touch ${support_x86} ${support_rtems}
sed -i '/VALID_BUILDS/d' ${support_x86}
echo "VALID_BUILDS=Host" >> ${support_x86}
sed -i '/CROSS_COMPILER_TARGET_ARCHS/d' ${support_rtems}
echo "CROSS_COMPILER_TARGET_ARCHS=RTEMS-beatnik" >> ${support_rtems}
fi

# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
Expand Down

0 comments on commit e3dd2da

Please sign in to comment.