How to use flexbuild make Debian 12 image

From ESS-WIKI
Revision as of 01:39, 30 June 2025 by Sean.chuang (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Please follow github README.md

https://github.com/ADVANTECH-Corp/flexbuild/blob/LSDK-24.12/README.md

Follow the steps below to prepare your development environment and start building Debian for the Advantech i.MX8MP platform

Step 1: Download BSP (FlexBuild Framework)

$ git clone https://github.com/ADVANTECH-Corp/flexbuild.git -b LSDK-24.12

Step 2: Go to FlexBuild Folder

$ cd flexbuild

Step 3: Set Up Environment (Host)

$ . setup.env

Step 4: Create or Attach Docker

$ bld docker

Step 5: Set Up Environment (Docker)

$ . setup.env

Step 6: Install Host Dependencies

$ bld host-dep

Step 7: Build Commands

$ bld -m <machine>

Or:

$ bld <target> [ <option> ]

For example, replace <machine> with your board name.

If you want to enable OPTEE please add "CONFIG_OPTEE=y" at the beginning of the command as below:

$ CONFIG_OPTEE=y bld -m <machine>