diff options
author | zvecr <git@zvecr.com> | 2019-02-15 04:14:26 +0000 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-02-14 20:14:26 -0800 |
commit | 40e67a3074293bc8e96574e7d603a943d3ca8d38 (patch) | |
tree | 1e152c2282a4a0737e1a5952ec4ac6d96a333b63 /build_keyboard.mk | |
parent | 85022f8bb5129f7118b55556c1ce85bc7d721356 (diff) | |
download | qmk_firmware-40e67a3074293bc8e96574e7d603a943d3ca8d38.tar.gz |
Add a mechanism for force building a particular community layout (#5027)
* Add a mechanism for force building a particular community layout
* Add docs for FORCE_LAYOUT argument
* Update output name when FORCE_LAYOUT is enabled
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r-- | build_keyboard.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk index 71ba80523..ee6a69fc7 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk @@ -135,6 +135,10 @@ ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes) OPT_DEFS += -DCONVERT_TO_PROTON_C endif +ifneq ($(FORCE_LAYOUT),) + TARGET := $(TARGET)_$(FORCE_LAYOUT) +endif + include quantum/mcu_selection.mk ifdef MCU_FAMILY |