mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-30 21:02:32 +01:00 
			
		
		
		
	Add architecture test for the non-standard avr-size patch, so that it is not tested on architectures where the patch isn't available.
This commit is contained in:
		
							parent
							
								
									1eefbf9041
								
							
						
					
					
						commit
						11fa17a7db
					
				| @ -204,8 +204,11 @@ else ifeq ($(ARCH), UC3) | |||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| # Determine flags to pass to the size utility based on its reported features (only invoke if size target required)
 | # Determine flags to pass to the size utility based on its reported features (only invoke if size target required)
 | ||||||
|  | # and on an architecture where this non-standard patch is available
 | ||||||
|  | ifneq ($(ARCH), UC3) | ||||||
| size: SIZE_MCU_FLAG    := $(shell $(CROSS)-size --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) ) | size: SIZE_MCU_FLAG    := $(shell $(CROSS)-size --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) ) | ||||||
| size: SIZE_FORMAT_FLAG := $(shell $(CROSS)-size --help | grep -- --format=.*avr > /dev/null && echo --format=avr ) | size: SIZE_FORMAT_FLAG := $(shell $(CROSS)-size --help | grep -- --format=.*avr > /dev/null && echo --format=avr ) | ||||||
|  | endif | ||||||
| 
 | 
 | ||||||
| # Pre-build informational target, to give compiler and project name information when building
 | # Pre-build informational target, to give compiler and project name information when building
 | ||||||
| build_begin: | build_begin: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera