You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
488 B

  1. #!/bin/sh
  2. ALL_CONFIGS=$*
  3. GREP="grep"
  4. cat <<- EOF > lib/lufa/Bootloaders/DFU/Keyboard.h
  5. #ifndef QMK_KEYBOARD
  6. #define QMK_KEYBOARD
  7. $($GREP "MANUFACTURER[ \t]" $ALL_CONFIGS -h | tail -1)
  8. $($GREP "PRODUCT[ \t]" $ALL_CONFIGS -h | tail -1 | tr -d '\r') Bootloader
  9. $($GREP "QMK_ESC_OUTPUT[ \t]" $ALL_CONFIGS -h | tail -1)
  10. $($GREP "QMK_ESC_INPUT[ \t]" $ALL_CONFIGS -h | tail -1)
  11. $($GREP "QMK_LED[ \t]" $ALL_CONFIGS -h | tail -1)
  12. $($GREP "QMK_SPEAKER[ \t]" $ALL_CONFIGS -h | tail -1)
  13. #endif
  14. EOF