[<<][buildsys][>>][..]
Sat Feb 23 07:52:02 EST 2019

Encode binary type in the file

E.g. instead of build/host/v4l.elf use v4l.host.elf

This is the same as for uc_tools, and makes it harder to confuse the
files once they are moved.

EDIT: Works well.

# Filename encodes which linker script to use.
# E.g. for foo.x8.elf, the script is x8.ld
# Variables below are annotated with the foo example:

# foo.x8
APP_TYPED=$(basename $1 .elf)
# x8
TYPE="${APP_TYPED##*.}"
# foo
APP=$(basename $APP_TYPED .$TYPE)
# foo.ld
LD=$TYPE.ld
# foo.x8.map
MAP=$APP_TYPED.map
# foo.o
O=$APP.o



[Reply][About]
[<<][buildsys][>>][..]