summaryrefslogtreecommitdiff
path: root/meta-facebook/conf/machine/include/facebook-withhost.inc
AgeCommit message (Collapse)AuthorFilesLines
2021-11-10meta-facebook: revamp OVERRIDESPatrick Williams1-1/+2
Ensure OVERRIDES are specific, MACHINE or DISTRO, rather than extending the primary OVERRIDES variable. Fix the order so that the variables are ordered from least-specific to most-specific since bitbake applies overrides in increasing order. This makes it so that 'fb-withhost' is applied before 'fb-compute-multihost' is applied before 'yosemitev2'. Thus, if a recipe has a specialization for 'yosemitev2' it is used rather than the weaker specialization for 'fb-withhost'. Tested by checking the OVERRIDES and MACHINEOVERRIDES for Bletchley, Tiogapass, and Yosemitev2 to verify they look correct. ``` MACHINEOVERRIDES="armv7a:aspeed:aspeed-g6:fb-nohost:bletchley" MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-singlehost:tiogapass" MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-multihost:yosemitev2" ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id5fa38de29c748e4ceafd5ef5c831b4f6434ea01
2021-10-26treewide: clean up use of OBMC_MACHINE_FEATURESPatrick Williams1-1/+1
Modify the machine meta-layer configs to remove the use of the OBMC_MACHINE_FEATURES indirection and favor the Yocto MACHINE_FEATURES variable instead. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifafb79e4e4c010e9476b9547cd4982f5b645060e
2021-08-11meta-facebook: more prep for new override syntaxPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I21120d6215c25be49afd60d6e807b68f2798423a
2021-08-07meta-facebook: prep for new override syntaxPatrick Williams1-1/+1
Ran `scripts/contrib/convert-overrides.py` from upstream Yocto and fixed up a few by hand that were missed. Tested: Built bletchley and tiogapass. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0489ba007132901697e4ef1a29b03a3591b3ee3b
2021-06-04meta-facebook: prep for host-less machinesPatrick Williams1-0/+15
Create config files that split "nohost" and "withost" variants of facebook machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I23460d8da076d02ebb6e5105b80244ca8a5681a4