mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	For better or worse libfdt recent grew a lot of code that checks the validity of the device tree in great detail. When using unsigned or unverified data this makes things safer, but it does add to code size. Add some controls to select the trade-off between safety and code size. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			546 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			546 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # SPDX-License-Identifier: GPL-2.0+
 | |
| #
 | |
| # (C) Copyright 2000-2007
 | |
| # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 | |
| 
 | |
| # Use upstream code.
 | |
| obj-y += \
 | |
| 	fdt.o \
 | |
| 	fdt_wip.o \
 | |
| 	fdt_strerror.o \
 | |
| 	fdt_sw.o \
 | |
| 	fdt_rw.o \
 | |
| 	fdt_empty_tree.o \
 | |
| 	fdt_addresses.o
 | |
| 
 | |
| obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o
 | |
| 
 | |
| # Locally modified for U-Boot.
 | |
| # TODO: split out the local modifiction.
 | |
| obj-y += fdt_ro.o
 | |
| 
 | |
| # U-Boot own file
 | |
| obj-y += fdt_region.o
 | |
| 
 | |
| ccflags-y := -I$(srctree)/scripts/dtc/libfdt \
 | |
| 	-DFDT_ASSUME_MASK=$(CONFIG_$(SPL_TPL_)OF_LIBFDT_ASSUME_MASK)
 |