mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-29 22:45:51 +00:00
15 lines
452 B
Bash
Executable File
15 lines
452 B
Bash
Executable File
#!/bin/sh
|
|
ALL_CONFIGS=$*
|
|
GREP="grep"
|
|
|
|
cat <<- EOF > lib/lufa/Bootloaders/DFU/Keyboard.h
|
|
#pragma once
|
|
|
|
$($GREP "MANUFACTURER[ \t]" $ALL_CONFIGS -h | tail -1)
|
|
$($GREP "PRODUCT[ \t]" $ALL_CONFIGS -h | tail -1 | tr -d '\r') Bootloader
|
|
$($GREP "QMK_ESC_OUTPUT[ \t]" $ALL_CONFIGS -h | tail -1)
|
|
$($GREP "QMK_ESC_INPUT[ \t]" $ALL_CONFIGS -h | tail -1)
|
|
$($GREP "QMK_LED[ \t]" $ALL_CONFIGS -h | tail -1)
|
|
$($GREP "QMK_SPEAKER[ \t]" $ALL_CONFIGS -h | tail -1)
|
|
EOF
|