# Create a list of targets # Allow top level to override this [ -z "$TARGETS" ] && TARGETS=host # Some special cases that do not work for all targets yet. cat <>$3 ftdi_connect.host.elf EOF # The rest is cross target. APPS="v4l sqlite3 gdbstub_connect" for target in $TARGETS; do for app in $APPS; do echo $app.$target.elf >>$3; done done