summaryrefslogtreecommitdiffstats
path: root/common/recipes-bsp/rmc/rmc.bb
Commit message (Collapse)AuthorAgeFilesLines
* meta-intel: Reorganize the layout to remove commonSaul Wold2017-11-201-46/+0
| | | | | | | Remove the concept of the common directory and move all the recipes-* dirs to the top level as a normal layer would be. layer.conf is updated appropriately Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: Add -fno-stack-protectorKhem Raj2017-09-051-0/+1
| | | | | | | | | | Some toolchains may have configured itself with ssp in such cases just removing -fstack-protector-strong is not enough to disable ssp, additionally disabling it on cmdline is required too Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: split rmc.bb and rmc-efi.bb into separate recipesTodor Minchev2017-07-061-2/+1
| | | | | | | | | | X32 builds require that the bootloader is built as x86_64 binary. This patch splits the build definitions of the RMC userspace application and the RMC EFI library into separate recipes and builds an x86_64 EFI library when DEFAULTTUNE is x32. Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: update SRCREV for rmc recipeTodor Minchev2017-03-311-1/+1
| | | | | | | This SRCREV fixes rmc build failure under musl Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: update license file checksumTodor Minchev2017-03-311-1/+1
| | | | | Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: update SRCREV for rmc recipeTodor Minchev2017-03-201-1/+1
| | | | | | | | | | | | | | | This SRCREV adds fingerprint and database extraction functionality to RMC Extract database: rmc -E -d rmc.db -o output/directory/ Extract fingerprint: rmc -E -f fingerprint_file https://bugzilla.yoctoproject.org/show_bug.cgi?id=10092 Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* rmc: don't hardcode install pathsRoss Burton2016-12-151-2/+7
| | | | | | | | | | Instead of hardcoding /usr in the recipe, and hardcoding $prefix/lib in the Makefile, override all of the paths with the distro configuration. [ YOCTO #10800 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* rmc: integration updateJianxun Zhang2016-12-051-15/+5
| | | | | | | | | | | | | | | | | | | | | This is a whole package of rmc work in meta-intel to reflect some major changes in the upstream project: In rmc.bb recipe, EFI_ARCH, path of EFI header files, and dependency on gnu-efi are removed with the updated revision. In systemd-boot, patches to integrate with rmc are re-worked mainly because of new APIs. Size of patches are smaller than the previous implementation. Notice we still use multiple APIs instead of calling an one-step interface multiple times, to get some potential runtime performance benefit. (rmc tool in user space is changed to use single API in the upstream project.) Fixes [YOCTO #10086] Fixes [YOCTO #10671] Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: remove stack-protector-strong from CFLAGSSaul Wold2016-12-051-0/+1
| | | | | | | | Since the rmc is used standalone from systemd-boot and does not use libc which provides the stack_chk_fail code that causes an undefined symbol Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: Limit them to x86 targetsKhem Raj2016-11-081-0/+2
| | | | | | | Makes meta-intel behave well in multi-BSP scene Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: Update rmc project SRCREVJianxun Zhang2016-08-311-1/+1
| | | | | | | | | | | | | | | New changes in the upstream rmc project captured by this SRCREV: 2e38d05 Merge branch 'rmc-dev' (Aug 30 2016) a1a4a26 Makefile: remove static linking in Linux build b22169a doc: update README file 29e943d Merge branch 'rmc-dev' (Aug 24 2016) fc2fb1e rmc: fix allocating buffer issue in read_file() (32 bit) 38b0553 rmc: fix wrong error message 7ee67a0 test: Provide test scripts and sample data Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* rmc: Explicitly specify hash style for linkerJianxun Zhang2016-08-311-0/+2
| | | | | | | | | | | | | | | | | | The QA sanity checker in OE fails when an ELF binary has a symbol table without GNU hash. There is no issue so far because rmc is statically linked with C libraries and the symbol table is stripped out in build. But once we compile rmc with dynamic linking, the symbol table in the dynamic section stays. Thus it fails the QA checker because the default hash style is sysv. To have some peace of mind, we specify "both" for the hash style to the linker. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* rmc: Add Runtime Machine Configuration (RMC) projectJianxun Zhang2016-08-031-0/+46
RMC recipe fetch RMC project and build it more than once in build time: RMC tool is built for host architecture (native). The tool for host is used to generate RMC database in build time. RMC tool is also built for target architecture, so that scripts in user space can call RMC tool on a running target. Developers can also boot a target and run rmc tool to obtain fingerprint for a new board type. RMC libraries are compiled for both of UEFI context and user space. They are always linked in RMC tool and can be linked into an EFI bootloader. The recipes don't install libraries for target's user space until we have a new client needs it. The rmc-db.bbclass provides functions to generate rmc database file for other software components to reuse. We absorb a patch from Tom Zanussi to update source location with the public link. We could put this change in another commit, but leaving the replaced internal link in this commit could cause trouble when people bisect the project but don't have access to the internal location: ---------------------- rmc: Update to use public repo The repo the rmc recipe was pointing to was private - it's now public Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> common/recipes-bsp/rmc/rmc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/recipes-bsp/rmc/rmc.inc b/common/recipes-bsp/rmc/rmc.inc index c046e2e..bdf930d 100644 --- a/common/recipes-bsp/rmc/rmc.inc +++ b/common/recipes-bsp/rmc/rmc.inc @@ -15,7 +15,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=bcdd376d27b26bde6afadd67aa3c8b07" -SRC_URI = "git://git@git.yoctoproject.org/rmc;protocol=ssh" +SRC_URI = "git://git.yoctoproject.org/rmc" ... ---------------------- Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Reviewed-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>