elixir/projects/barebox.sh
Michael Opdenacker e732c6a295 Version 0.3: support projects through rudimentary "plugins"
- 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>
2018-04-03 15:29:08 +02:00

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/'
}