Skip to content

Commit

Permalink
removing sstate cache usage (Xilinx#7035)
Browse files Browse the repository at this point in the history
  • Loading branch information
chvamshi-xilinx authored Sep 14, 2022
1 parent 27bff3c commit ecd4239
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions build/build_edge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,6 @@ if [ ! -f $PETA_BSP ]; then
error "$PETA_BSP not accessible"
fi

if [ ! -d $SSTATE_CACHE ]; then
error "SSTATE_CACHE= not accessible"
fi

# Sanity check done

PETA_CONFIG_OPT="--silentconfig"
Expand Down Expand Up @@ -381,13 +377,6 @@ echo "CONFIG_YOCTO_MACHINE_NAME=\"${YOCTO_MACHINE}\"" >> project-spec/configs/co
#echo "CONFIG_TMP_DIR_LOCATION=\"/scratch/${USER}/petalinux-top/$PETALINUX_VER\""
#echo "CONFIG_TMP_DIR_LOCATION=\"/scratch/${USER}/petalinux-top/$PETALINUX_VER\"" >> project-spec/configs/config

if [ ! -z $SSTATE_CACHE ] && [ -d $SSTATE_CACHE ]; then
echo "SSTATE-CACHE:${SSTATE_CACHE} added"
echo "CONFIG_YOCTO_LOCAL_SSTATE_FEEDS_URL=\"${SSTATE_CACHE}\"" >> project-spec/configs/config
else
echo "SSTATE-CACHE:${SSTATE_CACHE} not present"
fi

# Build package
echo " * Performing PetaLinux Build (from: ${PWD})"
#Run a full build if -full option is provided
Expand Down

0 comments on commit ecd4239

Please sign in to comment.