diff options
author | Drashna Jaelre <drashna@live.com> | 2018-03-31 21:02:40 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-04-01 00:02:40 -0400 |
commit | 162a67cbc567c11c507bfc153d155f5db2dd19bf (patch) | |
tree | 87200826601b41a4ad51c4195ec1b0f4a9e5853f /build_keyboard.mk | |
parent | cc323df9ba8f4361660ee2a60c3261da29c1d172 (diff) | |
download | qmk_firmware-162a67cbc567c11c507bfc153d155f5db2dd19bf.tar.gz qmk_firmware-162a67cbc567c11c507bfc153d155f5db2dd19bf.zip |
Add userspace config.h handling to build script (#2640)
* Add userspace 'config.h' file
* Add more robust docs
* Remove config.h code from drashna userspace
* Spelling error
* Include links to Config Options page
* Remove config.h documentation from userspace doc, as it's no longer needed
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 921159a5d..5a82abd31 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk | |||
@@ -204,6 +204,10 @@ endif | |||
204 | # User space stuff | 204 | # User space stuff |
205 | USER_PATH := users/$(KEYMAP) | 205 | USER_PATH := users/$(KEYMAP) |
206 | -include $(USER_PATH)/rules.mk | 206 | -include $(USER_PATH)/rules.mk |
207 | ifneq ("$(wildcard users/$(KEYMAP)/config.h)","") | ||
208 | CONFIG_H += users/$(KEYMAP)/config.h | ||
209 | endif | ||
210 | |||
207 | 211 | ||
208 | # Object files directory | 212 | # Object files directory |
209 | # To put object files in current directory, use a dot (.), do NOT make | 213 | # To put object files in current directory, use a dot (.), do NOT make |