Skip to content

Commit 80fff35

Browse files
fix(Makefile): Update top level makefile commands for am62xx-lp-evm
A new variable YOCTO_MACHINE is to be passed as argument for building via top level makefile for AM62-LP. Update docs accordingly. Signed-off-by: Telukula Jeevan Kumar Sahu <[email protected]>
1 parent 211b727 commit 80fff35

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/linux/Overview/Top_Level_Makefile.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ makefile targets.
9999

100100
.. important::
101101

102-
* AM62x installer supports ``am62xx-evm`` and ``am62xx-lp-evm`` platforms. ``am62xx-evm`` is the default platform for the Toplevel Makefile. To build for ``am62xx-lp-evm``, pass ``PLATFORM=am62xx-lp-evm`` as argument to make.
102+
* AM62x installer supports ``am62xx-evm`` and ``am62xx-lp-evm`` platforms. ``am62xx-evm`` is the default platform for the Toplevel Makefile. To build for ``am62xx-lp-evm``, pass ``PLATFORM=am62xx-lp-evm`` and ``YOCTO_MACHINE=am62xx-lp-evm`` as arguments to make.
103103
* No special arguments are needed to build for ``am62xxsip-evm`` in AM62xSIP Installer.
104104

105105
.. ifconfig:: CONFIG_part_variant not in ('AM62X', 'AM64X', 'AM62PX', 'AM335X', 'AM437X', 'AM65X', 'AM57X')
@@ -307,17 +307,17 @@ the Makefile from the top-level of the SDK.
307307
.. ifconfig:: CONFIG_part_variant in ('AM62X')
308308

309309
- To build Linux kernel and FitImage for ``am62xx-lp-evm``, pass ``PLATFORM=am62xx-lp-evm``
310-
argument to make.
310+
and ``YOCTO_MACHINE=am62xx-lp-evm`` arguments to make.
311311

312312
.. code-block:: console
313313
314-
host# PLATFORM=am62xx-lp-evm make linux
314+
host# PLATFORM=am62xx-lp-evm YOCTO_MACHINE=am62xx-lp-evm make linux
315315
316316
- make linux_install for ``am62xx-lp-evm``
317317

318318
.. code-block:: console
319319
320-
host# sudo DESTDIR=/media/$USER/rootfs PLATFORM=am62xx-lp-evm make linux_install
320+
host# sudo DESTDIR=/media/$USER/rootfs PLATFORM=am62xx-lp-evm YOCTO_MACHINE=am62xx-lp-evm make linux_install
321321
322322
- To Build GPU kernel module
323323

@@ -482,19 +482,19 @@ the Makefile from the top-level of the SDK.
482482
.. ifconfig:: CONFIG_part_variant in ('AM62X')
483483

484484
To build u-boot binaries for ``am62xx-lp-evm``, pass ``PLATFORM=am62xx-lp-evm``
485-
argument to make.
485+
and ``YOCTO_MACHINE=am62xx-lp-evm`` arguments to make.
486486

487487
- Build u-boot for ``am62xx-lp-evm``
488488

489489
.. code-block:: console
490490
491-
host# make u-boot PLATFORM=am62xx-lp-evm
491+
host# make u-boot PLATFORM=am62xx-lp-evm YOCTO_MACHINE=am62xx-lp-evm
492492
493493
- Install boot-binaries to SD card boot partition for ``am62xx-lp-evm``
494494

495495
.. code-block:: console
496496
497-
host# sudo DESTDIR=/media/$USER/boot PLATFORM=am62xx-lp-evm make u-boot_install
497+
host# sudo DESTDIR=/media/$USER/boot PLATFORM=am62xx-lp-evm YOCTO_MACHINE=am62xx-lp-evm make u-boot_install
498498
499499
Similar argument can be added to all u-boot targets discussed above.
500500

0 commit comments

Comments
 (0)