Build components into images.
phe component build [-Ar] [-compile-only] [-arch <architecture>] [-b <board>] [-shard <i/n>] [<component>...]
Compiles each component from its real .mmp with the modern toolchain and writes its E32Image: x32 images into /x32img, ARM images into /arm.
-r also builds everything the named components link against, providers first. -A builds every registered component, providers first (ARM: every component, in registry order); a component that fails is reported and the build goes on. Run "phe component resources" first: components include the .rsg headers it generates.
-A: Every registered component.-arch <architecture>: The architecture: x32 (amd64 CPU, 32-bit pointers) or arm (default: x32).-b <board>: Build for this board ("phe board list"): core plus the board's adaptation repositories. Without it, the adaptations in PHOREPOC_ADAPTATIONS.-compile-only: Compile the objects, link nothing (the shards of a split build; a later -A links).-r: Recursive: also everything the components link against, providers first.-shard <i/n>: With -A: only every n-th component from the i-th (i/n, a CI matrix job's share).
Build two components for a board:
phe component build -b myboard estor baflA component and everything below it:
phe component build -r avkonEverything (a clean build):
phe component build -A -b myboardAn ARM image for a phone:
phe component build -b myboard -arch arm phettyStill accepted for one release:
phe buildphe closure (= phe component build -r)phe all (= phe component build -A)phe arm (= phe component build -arch arm)