Skip to content

Commit

Permalink
frdm: fixed path and dependencies for extract_dts_includes.py
Browse files Browse the repository at this point in the history
the existing Kbuild is missing the path and needed python script
has new dependencies on yaml package also split the long line shorter ones.

Change-Id: I34fdd2ff70b2d76b0e2af6f78f2980d20651b12d
Signed-off-by: Rishi Khare <[email protected]>
  • Loading branch information
rishikha authored and Anas Nashif committed Feb 22, 2017
1 parent 9c48b54 commit 62ed635
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ include/generated/offsets.h: arch/$(ARCH)/core/offsets/offsets.o \
ifeq ($(CONFIG_HAS_DTS),y)
define filechk_generated_dts_board.h
(echo "/* WARNING. THIS FILE IS AUTO-GENERATED. DO NOT MODIFY! */"; \
extract_dts_includes.py dts/$(ARCH)/$(BOARD_NAME).dts_compiled $(ZEPHYR_BASE)/dts/$(ARCH)/yaml; \
$(ZEPHYR_BASE)/scripts/extract_dts_includes.py dts/$(ARCH)/$(BOARD_NAME).dts_compiled $(ZEPHYR_BASE)/dts/$(ARCH)/yaml; \
if test -e $(ZEPHYR_BASE)/dts/$(ARCH)/$(BOARD_NAME).fixup; then \
echo; echo; \
echo "/* Following definitions fixup the generated include */"; \
Expand Down
7 changes: 5 additions & 2 deletions doc/getting_started/installation_linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,17 @@ Install the required packages in a Ubuntu host system with:

.. code-block:: console
$ sudo apt-get install git make gcc g++ python3-ply ncurses-dev
$ sudo apt-get install git make gcc g++ python3-ply ncurses-dev \
python-yaml python2
Install the required packages in a Fedora host system with:

.. code-block:: console
$ sudo dnf group install "Development Tools"
$ sudo dnf install git make gcc glibc-static libstdc++-static python3-ply ncurses-devel
$ sudo dnf install git make gcc glibc-static \
libstdc++-static python3-ply ncurses-devel \
python-yaml python2
.. _zephyr_sdk:

Expand Down

0 comments on commit 62ed635

Please sign in to comment.