2017-07-30 19:12:10 +10:00
|
|
|
#!/bin/bash
|
2017-09-13 14:28:33 +10:00
|
|
|
mkdir -p out/
|
2017-09-13 12:08:11 +10:00
|
|
|
for f in `dir -d configs/*`; do
|
|
|
|
kn=$(echo $f | cut -f 1 -d '.' | cut -f 2 -d "/")
|
2017-09-13 12:17:26 +10:00
|
|
|
./genkernel.lua $f "$(git rev-parse --short HEAD)" > out/$kn.lua
|
|
|
|
lua strip.lua out/$kn.lua out/s$kn.lua
|
2017-09-13 12:08:11 +10:00
|
|
|
done
|