Skip to content

Commit

Permalink
dts: Limit search of device tree bindings to dts/bindings dir
Browse files Browse the repository at this point in the history
Now that all the yaml binding files are in dts/bindings lets limit the
search path for bindings to that location.

Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
galak committed Oct 23, 2017
1 parent b5c4237 commit 46d82fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -978,20 +978,20 @@ define filechk_generated_dts_board.h
if test -e $(ZEPHYR_BASE)/dts/$(ARCH)/$(BOARD_NAME).fixup; then \
$(ZEPHYR_BASE)/scripts/dts/extract_dts_includes.py \
-d dts/$(ARCH)/$(BOARD_NAME).dts_compiled \
-y $(ZEPHYR_BASE)/dts \
-y $(ZEPHYR_BASE)/dts/bindings \
-f $(ZEPHYR_BASE)/dts/$(ARCH)/$(BOARD_NAME).fixup; \
else \
$(ZEPHYR_BASE)/scripts/dts/extract_dts_includes.py \
-d dts/$(ARCH)/$(BOARD_NAME).dts_compiled \
-y $(ZEPHYR_BASE)/dts; \
-y $(ZEPHYR_BASE)/dts/bindings; \
fi; \
)
endef
define filechk_generated_dts_board.conf
(echo "# WARNING. THIS FILE IS AUTO-GENERATED. DO NOT MODIFY!"; \
$(ZEPHYR_BASE)/scripts/dts/extract_dts_includes.py \
-d dts/$(ARCH)/$(BOARD_NAME).dts_compiled \
-y $(ZEPHYR_BASE)/dts -k; \
-y $(ZEPHYR_BASE)/dts/bindings -k; \
)
endef
else
Expand Down

0 comments on commit 46d82fd

Please sign in to comment.