lantiq: move DTS_DIR variable out of Device definition
The DTS_DIR variable is not a device variable, thus it should not
be set inside Device/Default but globally.
Fixes: c640370939 ("lantiq: use soc_vendor_device scheme on DTS file")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
			
			
This commit is contained in:
		@@ -52,6 +52,8 @@ define Build/fullimage
 | 
				
			|||||||
	rm $@.tmp
 | 
						rm $@.tmp
 | 
				
			||||||
endef
 | 
					endef
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					DTS_DIR := $(DTS_DIR)/lantiq
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Shared device definition: applies to every defined device
 | 
					# Shared device definition: applies to every defined device
 | 
				
			||||||
define Device/Default
 | 
					define Device/Default
 | 
				
			||||||
  PROFILES = Default
 | 
					  PROFILES = Default
 | 
				
			||||||
@@ -61,7 +63,6 @@ define Device/Default
 | 
				
			|||||||
  KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
 | 
					  KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
 | 
				
			||||||
  FILESYSTEMS := squashfs
 | 
					  FILESYSTEMS := squashfs
 | 
				
			||||||
  IMAGE_SIZE :=
 | 
					  IMAGE_SIZE :=
 | 
				
			||||||
  DTS_DIR := $(DTS_DIR)/lantiq
 | 
					 | 
				
			||||||
  DEVICE_DTS = $$(SOC)_$(1)
 | 
					  DEVICE_DTS = $$(SOC)_$(1)
 | 
				
			||||||
  SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
 | 
					  SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
 | 
				
			||||||
  IMAGES := sysupgrade.bin
 | 
					  IMAGES := sysupgrade.bin
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user