History

Merge tag 'devicetree-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

Pull DeviceTree updates from Rob Herring: "There's a few orphans in the conversion to %pOF printf specifiers included here that no one else picked up. Summary: - Convert more DT code to use of_property_read_* API. - Improve DT overlay support when adding multiple overlays - Convert printk's to %pOF format specifiers. Most went via subsystem trees, but picked up the remaining orphans - Correct unittests to use preferred "okay" for "status" property value - Add a KASLR seed property - Vendor prefixes for Mellanox, Theobroma System, Adaptrum, Moxa - Fix modalias buffer handling - Clean-up of include paths for building dtbs - Add bindings for amc6821, isl1208, tsl2x7x, srf02, and srf10 devices - Add nvmem bindings for MediaTek MT7623 and MT7622 SoC - Add compatible string for Allwinner H5 Mali-450 GPU - Fix links to old OpenFirmware docs with new mirror on devicetree.org - Remove status property from binding doc examples" * tag 'devicetree-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (45 commits) devicetree: Adjust status "ok" -> "okay" under drivers/of/ dt-bindings: Remove "status" from examples dt-bindings: pinctrl: sh-pfc: Use generic node name dt-bindings: Add vendor Mellanox dt-binding: net/phy: fix interrupts description virt: Convert to using %pOF instead of full_name macintosh: Convert to using %pOF instead of full_name ide: pmac: Convert to using %pOF instead of full_name microblaze: Convert to using %pOF instead of full_name dt-bindings: usb: musb: Grammar s/the/to/, s/is/are/ of: Use PLATFORM_DEVID_NONE definition of/device: Fix of_device_get_modalias() buffer handling of/device: Prevent buffer overflow in of_device_modalias() dt-bindings: add amc6821, isl1208 trivial bindings dt-bindings: add vendor prefix for Theobroma Systems of: search scripts/dtc/include-prefixes path for both CPP and DTC of: remove arch/$(SRCARCH)/boot/dts from include search path for CPP of: remove drivers/of/testcase-data from include search path for CPP of: return of_get_cpu_node from of_cpu_device_node_get if CPUs are not registered iio: srf08: add device tree binding for srf02 and srf10 ...

Linus Torvalds committed 9 years ago

Commit 74fee4e2 parents 7d95565 8402446273 files · +508 −626Browse files

Showing the changes to scripts (1 of 273 files). Show all

Unified · Split

scripts/Makefile.lib+4−4
@@ -173,10 +173,10 @@ cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) \ · 172 unmodified lines
173173
174174 ld_flags = $(LDFLAGS) $(ldflags-y)
175175
176+DTC_INCLUDE := $(srctree)/scripts/dtc/include-prefixes
177+
176178 dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
177− -I$(srctree)/arch/$(SRCARCH)/boot/dts \
178− -I$(srctree)/scripts/dtc/include-prefixes \
179− -I$(srctree)/drivers/of/testcase-data \
179+ $(addprefix -I,$(DTC_INCLUDE)) \
180180 -undef -D__DTS__
181181
182182 # Finds the multi-part object the current object will be linked into
@@ -317,7 +317,7 @@ quiet_cmd_dtc = DTC $@ · 134 unmodified lines
317317 cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
318318 $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
319319 $(DTC) -O dtb -o $@ -b 0 \
320− -i $(dir $<) $(DTC_FLAGS) \
320+ $(addprefix -i,$(dir $<) $(DTC_INCLUDE)) $(DTC_FLAGS) \
321321 -d $(depfile).dtc.tmp $(dtc-tmp) ; \
322322 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
323323