From 9204404e9bda637c07ae6b732f7051e428664dd7 Mon Sep 17 00:00:00 2001 From: Hyunki Koo Date: Mon, 29 Jan 2018 20:37:41 +0900 Subject: [PATCH] [COMMON] script: dtc: remove build error This patch remove build error after applying "Update dtc for Device Tree Overlay" FATAL ERROR: Unrecognized check name "simple_bus_reg" make[2]: *** [arch/arm64/boot/dts/exynos/exynos7-espresso.dtb] Error 1 make[2]: *** Waiting for unfinished jobs.... FATAL ERROR: Unrecognized check name "simple_bus_reg" make[2]: *** [arch/arm64/boot/dts/exynos/exynos5433-tm2e.dtb] Error 1 FATAL ERROR: Unrecognized check name "simple_bus_reg" make[2]: *** [arch/arm64/boot/dts/exynos/exynos5433-tm2.dtb] Error 1 FATAL ERROR: Unrecognized check name "simple_bus_reg" make[2]: *** [arch/arm64/boot/dts/exynos/exynos9810.dtb] Error 1 make[1]: *** [arch/arm64/boot/dts/exynos] Error 2 make: *** [dtbs] Error 2 make: *** Waiting for unfinished jobs.... Change-Id: I23919357ca3e24821dd5dbb6ace47b80b2f2fe47 Signed-off-by: Hyunki Koo --- scripts/Makefile.lib | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 36fa07a8f979..95ca61de0ffb 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -272,21 +272,9 @@ DTC ?= $(objtree)/scripts/dtc/dtc # Disable noisy checks by default ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),) -DTC_FLAGS += -Wno-unit_address_vs_reg \ - -Wno-simple_bus_reg \ - -Wno-unit_address_format \ - -Wno-pci_bridge \ - -Wno-pci_device_bus_num \ - -Wno-pci_device_reg +DTC_FLAGS += -Wno-unit_address_vs_reg endif -ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),2) -DTC_FLAGS += -Wnode_name_chars_strict \ - -Wproperty_name_chars_strict -endif - -DTC_FLAGS += $(DTC_FLAGS_$(basetarget)) - # Generate an assembly file to wrap the output of the device tree compiler quiet_cmd_dt_S_dtb= DTB $@ cmd_dt_S_dtb= \ -- 2.20.1