diff --git a/keyboards/zsa/common/config.h b/keyboards/zsa/common/config.h index c3316e3fb5f5..001d39c3a885 100644 --- a/keyboards/zsa/common/config.h +++ b/keyboards/zsa/common/config.h @@ -2,7 +2,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later #pragma once -#include "keycode_aliases.h" #ifdef ORYX_ENABLE # ifndef SERIAL_NUMBER diff --git a/keyboards/zsa/common/features.mk b/keyboards/zsa/common/features.mk index ae636faa1aa2..7da2d1f3ca08 100644 --- a/keyboards/zsa/common/features.mk +++ b/keyboards/zsa/common/features.mk @@ -1,5 +1,7 @@ VPATH += keyboards/zsa/common +POST_CONFIG_H += keyboards/zsa/common/keycode_aliases.h + ifeq ($(strip $(ORYX_ENABLE)), yes) SRC += keyboards/zsa/common/oryx.c OPT_DEFS += -DORYX_ENABLE -DORYX_CONFIGURATOR