post_rules.mk (434B)
1 # System76 EC 2 # remove the RESET HID command 3 VALID_SYSTEM76_EC_TYPES := yes 4 SYSTEM76_EC_ENABLE ?= no 5 ifneq ($(strip $(SYSTEM76_EC_ENABLE)),no) 6 ifeq ($(filter $(SYSTEM76_EC_ENABLE),$(VALID_SYSTEM76_EC_TYPES)),) 7 $(error SYSTEM76_EC_EN="$(strip $(SYSTEM76_EC_ENABLE))" is not a valid type for the System76 EC option) 8 endif 9 ifneq ($(strip $(SYSTEM76_EC_ENABLE)),no) 10 OPT_DEFS += -DSYSTEM76_EC 11 endif 12 endif