mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	Release 2023.07 got tagged wrongly and replaced by follow-up release 2023.07.02. Now using upstream DTS for BPi-R3. Removed two patches which made it upstream, refreshed the rest. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
		
			
				
	
	
		
			31 lines
		
	
	
		
			951 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			951 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/Makefile
 | 
						|
+++ b/Makefile
 | 
						|
@@ -2006,26 +2006,7 @@ endif
 | 
						|
 # Check dtc and pylibfdt, if DTC is provided, else build them
 | 
						|
 PHONY += scripts_dtc
 | 
						|
 scripts_dtc: scripts_basic
 | 
						|
-	$(Q)if test "$(DTC)" = "$(DTC_INTREE)"; then \
 | 
						|
-		$(MAKE) $(build)=scripts/dtc; \
 | 
						|
-	else \
 | 
						|
-		if ! $(DTC) -v >/dev/null; then \
 | 
						|
-			echo '*** Failed to check dtc version: $(DTC)'; \
 | 
						|
-			false; \
 | 
						|
-		else \
 | 
						|
-			if test "$(call dtc-version)" -lt $(DTC_MIN_VERSION); then \
 | 
						|
-				echo '*** Your dtc is too old, please upgrade to dtc $(DTC_MIN_VERSION) or newer'; \
 | 
						|
-				false; \
 | 
						|
-			else \
 | 
						|
-				if [ -n "$(CONFIG_PYLIBFDT)" ]; then \
 | 
						|
-					if ! echo "import libfdt" | $(PYTHON3) 2>/dev/null; then \
 | 
						|
-						echo '*** pylibfdt does not seem to be available with $(PYTHON3)'; \
 | 
						|
-						false; \
 | 
						|
-					fi; \
 | 
						|
-				fi; \
 | 
						|
-			fi; \
 | 
						|
-		fi; \
 | 
						|
-	fi
 | 
						|
+	$(MAKE) $(build)=scripts/dtc
 | 
						|
 
 | 
						|
 # ---------------------------------------------------------------------------
 | 
						|
 quiet_cmd_cpp_lds = LDS     $@
 |