3 @@ -2000,26 +2000,7 @@ endif
4 # Check dtc and pylibfdt, if DTC is provided, else build them
6 scripts_dtc: scripts_basic
7 - $(Q)if test "$(DTC)" = "$(DTC_INTREE)"; then \
8 - $(MAKE) $(build)=scripts/dtc; \
10 - if ! $(DTC) -v >/dev/null; then \
11 - echo '*** Failed to check dtc version: $(DTC)'; \
14 - if test "$(call dtc-version)" -lt $(DTC_MIN_VERSION); then \
15 - echo '*** Your dtc is too old, please upgrade to dtc $(DTC_MIN_VERSION) or newer'; \
18 - if [ -n "$(CONFIG_PYLIBFDT)" ]; then \
19 - if ! echo "import libfdt" | $(PYTHON3) 2>/dev/null; then \
20 - echo '*** pylibfdt does not seem to be available with $(PYTHON3)'; \
27 + $(MAKE) $(build)=scripts/dtc
29 # ---------------------------------------------------------------------------
30 quiet_cmd_cpp_lds = LDS $@