Skip to content

Commit

Permalink
tools/mkexport.sh: stop referring kernel linkscript
Browse files Browse the repository at this point in the history
This stops referring linkscript in kernel folder as kernel folder
may not present for apps building with exported SDK.

Signed-off-by: Yanfeng Liu <[email protected]>
  • Loading branch information
yf13 committed Jan 26, 2025
1 parent f22afcd commit 0093f32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/mkexport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ if [ "X${USRONLY}" != "Xy" ]; then
done
fi

# Drop kernel folder linkscript as the exported one should suffice

LDELFFLAGS=$(echo "$LDELFFLAGS" | sed -e 's:-T.*ld::')

# Save the compilation options

echo "ARCHCFLAGS = ${ARCHCFLAGS}" >"${EXPORTDIR}/scripts/Make.defs"
Expand Down

0 comments on commit 0093f32

Please sign in to comment.