Skip to content

Commit

Permalink
DOC: Fix apache#11760
Browse files Browse the repository at this point in the history
The Make.defs to CustomHello example was missing.

Signed-off-by: Alan C. Assis <[email protected]>
  • Loading branch information
acassis committed Feb 23, 2024
1 parent 5eb08a4 commit 280749f
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions Documentation/guides/customapps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,19 @@ Create a sub-directory under the ``CustomApps`` directory called ``CustomHello``

The same ``CustomHello.c`` file as described above should be created here.

2.5 CustomHello Makefile
2.5 CustomHello Make.defs
-------------------------

Create a Make.defs in the ``CustomApps/CustomHello`` directory with the following lines:

.. code-block:: console
ifneq ($(CONFIG_CUSTOM_APPS_CUSTOM_HELLO),)
CONFIGURED_APPS += $(APPDIR)/CustomApps/CustomHello
endif
2.6 CustomHello Makefile
------------------------

Create a Makefile in the ``CustomApps/CustomHello`` directory with the following lines:
Expand All @@ -255,7 +267,7 @@ Create a Makefile in the ``CustomApps/CustomHello`` directory with the following
include $(APPDIR)/Application.mk
2.6 CustomHello Kconfig
2.7 CustomHello Kconfig
-----------------------

Create a Kconfig file in the ``CustomApps/CustomHello`` directory, with the following lines. For
Expand Down Expand Up @@ -293,7 +305,7 @@ the purposes of this example, the Kconfig will only cover our single application

endif

2.7 Build and Run
2.8 Build and Run
-----------------

Once these files have been created, run a ``make clean`` (you may need to run ``make distclean``
Expand Down

0 comments on commit 280749f

Please sign in to comment.