mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-22 00:14:38 +00:00
Remove qmk archive generation (#8462)
This commit is contained in:
parent
8b0efc2124
commit
e34764502f
2 changed files with 0 additions and 48 deletions
|
@ -98,30 +98,6 @@ ifndef TEENSY_LOADER_CLI
|
|||
endif
|
||||
endif
|
||||
|
||||
# Generate a .qmk for the QMK-FF
|
||||
qmk: $(BUILD_DIR)/$(TARGET).hex
|
||||
zip $(TARGET).qmk -FSrj $(KEYMAP_PATH)/*
|
||||
zip $(TARGET).qmk -u $<
|
||||
printf "@ $<\n@=firmware.hex\n" | zipnote -w $(TARGET).qmk
|
||||
printf "{\n \"generated\": \"%s\"\n}" "$$(date)" > $(BUILD_DIR)/$(TARGET).json
|
||||
if [ -f $(KEYBOARD_PATH_5)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_5)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
if [ -f $(KEYBOARD_PATH_4)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_4)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
if [ -f $(KEYBOARD_PATH_3)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_3)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
if [ -f $(KEYBOARD_PATH_2)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_2)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
if [ -f $(KEYBOARD_PATH_1)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_1)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
zip $(TARGET).qmk -urj $(BUILD_DIR)/$(TARGET).json
|
||||
printf "@ $(TARGET).json\n@=info.json\n" | zipnote -w $(TARGET).qmk
|
||||
|
||||
# Program the device.
|
||||
program: $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).eep check-size
|
||||
$(PROGRAM_CMD)
|
||||
|
|
|
@ -244,30 +244,6 @@ EXTRALIBDIRS = $(RULESPATH)/ld
|
|||
DFU_UTIL ?= dfu-util
|
||||
ST_LINK_CLI ?= st-link_cli
|
||||
|
||||
# Generate a .qmk for the QMK-FF
|
||||
qmk: $(BUILD_DIR)/$(TARGET).bin
|
||||
zip $(TARGET).qmk -FSrj $(KEYMAP_PATH)/*
|
||||
zip $(TARGET).qmk -u $<
|
||||
printf "@ $<\n@=firmware.bin\n" | zipnote -w $(TARGET).qmk
|
||||
printf "{\n \"generated\": \"%s\"\n}" "$$(date)" > $(BUILD_DIR)/$(TARGET).json
|
||||
if [ -f $(KEYBOARD_PATH_5)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_5)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
if [ -f $(KEYBOARD_PATH_4)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_4)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
if [ -f $(KEYBOARD_PATH_3)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_3)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
if [ -f $(KEYBOARD_PATH_2)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_2)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
if [ -f $(KEYBOARD_PATH_1)/info.json ]; then \
|
||||
jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_1)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \
|
||||
fi
|
||||
zip $(TARGET).qmk -urj $(BUILD_DIR)/$(TARGET).json
|
||||
printf "@ $(TARGET).json\n@=info.json\n" | zipnote -w $(TARGET).qmk
|
||||
|
||||
define EXEC_DFU_UTIL
|
||||
until $(DFU_UTIL) -l | grep -q "Found DFU"; do\
|
||||
printf "$(MSG_BOOTLOADER_NOT_FOUND)" ;\
|
||||
|
|
Loading…
Reference in a new issue