Skip to content

Commit

Permalink
Merge pull request #29 accept a DESTDIR environment variable for libo…
Browse files Browse the repository at this point in the history
…pencm3

Merge remote-tracking branch 'chrysn/upstream' into beta
  • Loading branch information
esden committed Oct 31, 2012
2 parents ed0aada + da8d22c commit 26d84dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions summon-arm-toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ if [ ! -e ${STAMPS}/${LIBOPENCM3}.build ]; then
unpack ${LIBOPENCM3}
cd ${LIBOPENCM3}
log "Building ${LIBOPENCM3}"
make PREFIX=${TARGET} DESTDIR=${PREFIX}
install ${LIBOPENCM3} PREFIX=${TARGET} DESTDIR=${PREFIX} install
make PREFIX=${TARGET} DESTDIR=${DESTDIR}${DESTDIR:+/}${PREFIX}
install ${LIBOPENCM3} PREFIX=${TARGET} DESTDIR=${DESTDIR}${DESTDIR:+/}${PREFIX} install
cd ..
log "Cleaning up ${LIBOPENCM3}"
touch ${STAMPS}/${LIBOPENCM3}.build
Expand Down

0 comments on commit 26d84dd

Please sign in to comment.