Migrate features and LTO from rules.mk to data driven (#23302)
This commit is contained in:
		
							parent
							
								
									86e7df0c2a
								
							
						
					
					
						commit
						426bb9c651
					
				
					 291 changed files with 1763 additions and 2023 deletions
				
			
		| 
						 | 
				
			
			@ -16,6 +16,19 @@
 | 
			
		|||
    },
 | 
			
		||||
    "processor": "atmega32u4",
 | 
			
		||||
    "bootloader": "caterina",
 | 
			
		||||
    "build": {
 | 
			
		||||
        "lto": true
 | 
			
		||||
    },
 | 
			
		||||
    "features": {
 | 
			
		||||
        "bootmagic": false,
 | 
			
		||||
        "command": false,
 | 
			
		||||
        "console": false,
 | 
			
		||||
        "encoder": true,
 | 
			
		||||
        "extrakey": true,
 | 
			
		||||
        "mousekey": false,
 | 
			
		||||
        "nkro": false,
 | 
			
		||||
        "oled": true
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "direct": [
 | 
			
		||||
            [null, "E6", "C6", null],
 | 
			
		||||
| 
						 | 
				
			
			@ -1,15 +0,0 @@
 | 
			
		|||
# Build Options
 | 
			
		||||
#   change yes to no to disable
 | 
			
		||||
#
 | 
			
		||||
BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
 | 
			
		||||
MOUSEKEY_ENABLE = no       # Mouse keys
 | 
			
		||||
EXTRAKEY_ENABLE = yes      # Audio control and System control
 | 
			
		||||
CONSOLE_ENABLE = no        # Console for debug
 | 
			
		||||
COMMAND_ENABLE = no        # Commands for debug and configuration
 | 
			
		||||
ENCODER_ENABLE = yes       # Enables the use of encoders
 | 
			
		||||
NKRO_ENABLE = no            # Enable N-Key Rollover
 | 
			
		||||
BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
 | 
			
		||||
RGBLIGHT_ENABLE = no       # Enable keyboard RGB underglow
 | 
			
		||||
AUDIO_ENABLE = no          # Audio output
 | 
			
		||||
LTO_ENABLE = yes           # Enables Link Time Optimization (LTO) which reduces the compiled size
 | 
			
		||||
OLED_ENABLE = yes          # Enables the use of OLED displays
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue