Skip to content

Commit

Permalink
build-epiphany-sdk.sh: Replace source path in debug info w/ install p…
Browse files Browse the repository at this point in the history
…refix

/
	* build-epiphany-sdk.sh (CFLAGS): Strip/replace source path to somewhat
	improve debug situation.
	(CXXFLAGS): Likewise.

Signed-off-by: Ola Jeppsson <ola@adapteva.com>
  • Loading branch information
olajep committed Apr 7, 2016
1 parent 5921b29 commit cd66379
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2016-04-07 Ola Jeppsson <ola@adapteva.com>

* build-epiphany-sdk.sh (CFLAGS): Strip/replace source path to somewhat
improve debug situation.
(CXXFLAGS): Likewise.

2016-03-27 Ola Jeppsson <ola@adapteva.com>

* components.conf: Use epiphany-libs 2016.3
Expand Down
3 changes: 3 additions & 0 deletions build-epiphany-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ else
sdk_debug_str=""
fi

export CFLAGS="-fdebug-prefix-map=${basedir}=${ESDK}/src ${CFLAGS}"
export CXXLAGS="-fdebug-prefix-map=${basedir}=${ESDK}/src ${CXXFLAGS}"

if [ "xyes" = "x$CLEAN" ]; then
toolchain_clean_str="--clean-build --clean-host"
sdk_clean_str="--clean"
Expand Down

0 comments on commit cd66379

Please sign in to comment.