You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
Copy file name to clipboardExpand all lines: source/linux/Overview/Top_Level_Makefile.rst
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ makefile targets.
99
99
100
100
.. important::
101
101
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.
103
103
* No special arguments are needed to build for ``am62xxsip-evm`` in AM62xSIP Installer.
104
104
105
105
.. 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.
307
307
.. ifconfig:: CONFIG_part_variant in ('AM62X')
308
308
309
309
- 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.
311
311
312
312
.. code-block:: console
313
313
314
-
host# PLATFORM=am62xx-lp-evm make linux
314
+
host# PLATFORM=am62xx-lp-evm YOCTO_MACHINE=am62xx-lp-evm make linux
315
315
316
316
- make linux_install for ``am62xx-lp-evm``
317
317
318
318
.. code-block:: console
319
319
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
321
321
322
322
- To Build GPU kernel module
323
323
@@ -482,19 +482,19 @@ the Makefile from the top-level of the SDK.
482
482
.. ifconfig:: CONFIG_part_variant in ('AM62X')
483
483
484
484
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.
486
486
487
487
- Build u-boot for ``am62xx-lp-evm``
488
488
489
489
.. code-block:: console
490
490
491
-
host# make u-boot PLATFORM=am62xx-lp-evm
491
+
host# make u-boot PLATFORM=am62xx-lp-evm YOCTO_MACHINE=am62xx-lp-evm
492
492
493
493
- Install boot-binaries to SD card boot partition for ``am62xx-lp-evm``
494
494
495
495
.. code-block:: console
496
496
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
498
498
499
499
Similar argument can be added to all u-boot targets discussed above.
0 commit comments