mirror of
git://projects.qi-hardware.com/iris.git
synced 2025-04-21 12:27:27 +03:00
use automake
This commit is contained in:
31
mkthreadlist
Executable file
31
mkthreadlist
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
cat << EOF
|
||||
.globl init_start
|
||||
.globl thread_start
|
||||
.set noreorder
|
||||
.balign 0x1000
|
||||
EOF
|
||||
|
||||
for i in "$@" ; do
|
||||
cat << EOF
|
||||
$i:
|
||||
.incbin "fs/$i.elf"
|
||||
.balign 0x1000
|
||||
EOF
|
||||
done
|
||||
|
||||
cat << EOF
|
||||
end_threads:
|
||||
init_start:
|
||||
thread_start:
|
||||
EOF
|
||||
|
||||
for i in "$@" ; do
|
||||
cat << EOF
|
||||
.word $i
|
||||
EOF
|
||||
done
|
||||
|
||||
cat << EOF
|
||||
.word 0
|
||||
EOF
|
||||
Reference in New Issue
Block a user