|
|
@ -2,15 +2,16 @@
|
|
|
|
# adjust for cpu
|
|
|
|
# adjust for cpu
|
|
|
|
# -j 16 gave best result on a hyperthreaded quad core core i7
|
|
|
|
# -j 16 gave best result on a hyperthreaded quad core core i7
|
|
|
|
THREADS="-j 16"
|
|
|
|
THREADS="-j 16"
|
|
|
|
|
|
|
|
KMAP=iso_split_rschift
|
|
|
|
echo "We need sudo later"
|
|
|
|
echo "We need sudo later"
|
|
|
|
sudo ls 2>&1 /dev/null
|
|
|
|
sudo ls 2>&1 /dev/null
|
|
|
|
make clean
|
|
|
|
make clean
|
|
|
|
make KEYMAP=toni77 ${THREADS}
|
|
|
|
make KEYMAP=iso_split_rschift ${THREADS}
|
|
|
|
if [[ $? -eq 0 ]]
|
|
|
|
if [[ $? -eq 0 ]]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
echo "please trigger flashing! you have 5 seconds"
|
|
|
|
echo "please trigger flashing! you have 5 seconds"
|
|
|
|
sleep 5
|
|
|
|
sleep 5
|
|
|
|
sudo make KEYMAP=toni77 dfu ${THREADS}
|
|
|
|
sudo make KEYMAP=iso_split_rschift dfu ${THREADS}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "make failed"
|
|
|
|
echo "make failed"
|
|
|
|
exit 77
|
|
|
|
exit 77
|
|
|
|