Commit Graph

4 Commits

Author SHA1 Message Date
Khem Raj
4cb9812277 emlog: Do not clean modules when building apps
Fixes
make -C /lib/modules/5.5.13-arch1-1/build M=/mnt/b/yoe/build/tmp/work/core2-64-yoe-linux/emlog/git-r0/git clean
make[1]: *** /lib/modules/5.5.13-arch1-1/build: No such file or directory.  Stop.
make: *** [Makefile:36: modules_clean] Error 2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-29 20:15:18 -07:00
Khem Raj
06a35d3be2 emlog: Use RRECOMMEND instead of RDEPEND
This helps with re-using sstate tasks when machines are similar

Fixes
Hash for dependent task emlog/kernel-module-emlog_git.bb:do_packagedata changed from a70b22026e418998e61d08b0b0ab64a3e26fd0da41a1d12f4356554b6b043794 to 7817106c7626c3c4b238f03771fc32dc8f3dc5e7496ff98cf8a812039939f915

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-03 13:02:12 -08:00
Khem Raj
10039570ec kernel-module-emlog: Use compile task from module bbclass
This ensures that right CC/LD is used when building the module, which
should be KERNEL_CC and KERNEL_LD, otherwise it starts to use DISTRO
default ld and cc which could be non-gcc and non-bfd liker which is must
for building kernel and modules

Also hides a gold linker failure seen on aarch64

| aarch64-yoe-linux-musl-ld: internal error in set_address, at ../../gold/output.h:322

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Fabio Berton <fabio.berton@ossystems.com.br>
2019-12-01 11:24:26 -08:00
Fabio Berton
027c7c1ebf emlog: Add recipe
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 20:07:43 -08:00