diff options
Diffstat (limited to 'scripts/Makefile.lib')
| -rw-r--r-- | scripts/Makefile.lib | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 5589bae34af6..dcc934319f92 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
| @@ -217,7 +217,7 @@ $(filter %.tab.c,$(targets)): $(obj)/%.tab.c: $(src)/%.y FORCE | |||
| 217 | $(call if_changed,bison) | 217 | $(call if_changed,bison) |
| 218 | 218 | ||
| 219 | quiet_cmd_bison_h = YACC $@ | 219 | quiet_cmd_bison_h = YACC $@ |
| 220 | cmd_bison_h = bison -o/dev/null --defines=$@ -t -l -p $(YACC_PREFIX) $< | 220 | cmd_bison_h = bison -o/dev/null --defines=$@ -t -l $< |
| 221 | 221 | ||
| 222 | ifdef REGENERATE_PARSERS | 222 | ifdef REGENERATE_PARSERS |
| 223 | .PRECIOUS: $(src)/%.tab.h_shipped | 223 | .PRECIOUS: $(src)/%.tab.h_shipped |
| @@ -276,10 +276,9 @@ DTC ?= $(objtree)/scripts/dtc/dtc | |||
| 276 | # Disable noisy checks by default | 276 | # Disable noisy checks by default |
| 277 | ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),) | 277 | ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),) |
| 278 | DTC_FLAGS += -Wno-unit_address_vs_reg \ | 278 | DTC_FLAGS += -Wno-unit_address_vs_reg \ |
| 279 | -Wno-simple_bus_reg \ | ||
| 280 | -Wno-unit_address_format \ | 279 | -Wno-unit_address_format \ |
| 281 | -Wno-pci_bridge \ | 280 | -Wno-avoid_unnecessary_addr_size \ |
| 282 | -Wno-pci_device_bus_num \ | 281 | -Wno-alias_paths \ |
| 283 | -Wno-pci_device_reg | 282 | -Wno-pci_device_reg |
| 284 | endif | 283 | endif |
| 285 | 284 | ||
| @@ -316,7 +315,7 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ | |||
| 316 | -d $(depfile).dtc.tmp $(dtc-tmp) ; \ | 315 | -d $(depfile).dtc.tmp $(dtc-tmp) ; \ |
| 317 | cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) | 316 | cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) |
| 318 | 317 | ||
| 319 | $(obj)/%.dtb: $(src)/%.dts FORCE | 318 | $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE |
| 320 | $(call if_changed_dep,dtc) | 319 | $(call if_changed_dep,dtc) |
| 321 | 320 | ||
| 322 | dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) | 321 | dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) |
