- Allows to add a project by just adding custom definitions to projects/<project>.sh - Except for cases that haven't been anticipated yet, modifying common code should no longer be needed Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
19 lines
333 B
Bash
19 lines
333 B
Bash
# Elixir definitions for Barebox
|
|
|
|
list_tags_h()
|
|
{
|
|
echo "$tags" |
|
|
grep '^v20' |
|
|
tac |
|
|
sed -r 's/^(v20..)(.*)$/new \1 \1\2/'
|
|
|
|
echo "$tags" |
|
|
grep '^v2\.0' |
|
|
tac |
|
|
sed -r 's/^(v2\.0)(.*)$/old \1 \1\2/'
|
|
|
|
echo "$tags" |
|
|
grep '^freescale' |
|
|
tac |
|
|
sed -r 's/^(freescale)(.*)$/old \1 \1\2/'
|
|
}
|