Skip to contentSkip to conversation

does omap3-sgx-modules_1.3.13.1397.bb need DEPENDS=virtual/kernel

DISCUSSION Cliff Brake 2 participants 2 messages Apr 24, 2009

lore
Share & tools
lore
#0 lore raw

I got this during a build:

ERROR: log data follows (/build/oe/oe-testing/build/angstrom-2008.1/tmp/work/beagleboard-angstrom-linux-gnueabi/omap3-sgx-modules-1.3.13.1397-r31/temp/log.do_compile.19743)

| rm: missing operand
| Try `rm --help' for more information.
| NOTE: make -j 5 -e MAKEFLAGS=

KERNEL_PATH=/build/oe/oe-testing/build/angstrom-2008.1/tmp/staging/beagleboard-angstrom-linux-gnueabi/kernel KERNEL_SRC=/build/oe/oe-testing/build/angstrom-2008.1/tmp/staging/beagleboard-angstrom-linux-gnueabi/kernel KDIR=/build/oe/oe-testing/build/angstrom-2008.1/tmp/staging/beagleboard-angstrom-linux-gnueabi/kernel KERNELDIR=/build/oe/oe-testing/build/angstrom-2008.1/tmp/staging/beagleboard-angstrom-linux-gnueabi/kernel KERNEL_VERSION=2.6.29-omap1 CC=arm-angstrom-linux-gnueabi-gcc
LD=arm-angstrom-linux-gnueabi-ld AR=arm-angstrom-linux-gnueabi-ar
BUILD=release
| make -C /build/oe/oe-testing/build/angstrom-2008.1/tmp/staging/beagleboard-angstrom-linux-gnueabi/kernel M=pwd
| make[1]: Entering directory `/build/oe/oe-testing/build/angstrom-2008.1/tmp/staging/beagleboard-angstrom-linux-gnueabi/kernel'
| Makefile:313:
/build/oe/oe-testing/build/angstrom-2008.1/tmp/staging/beagleboard-angstrom-linux-gnueabi/kernel/scripts/Kbuild.include:
No such file or directory

| make: Entering an unknown directory
| make: *** empty variable name.  Stop.
| make: Leaving an unknown directory
| make[1]: *** [_module_/build/oe/oe-testing/build/angstrom-2008.1/tmp/work/beagleboard-angstrom-linux-gnueabi/omap3-sgx-modules-1.3.13.1397-r31/omap3-sgx-modules-1.3.13.1397]

Error 2
| make[1]: Leaving directory `/build/oe/oe-testing/build/angstrom-2008.1/tmp/staging/beagleboard-angstrom-linux-gnueabi/kernel'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/build/oe/oe-testing/build/angstrom-2008.1/tmp/work/beagleboard-angstrom-linux-gnueabi/omap3-sgx-modules-1.3.13.1397-r31/temp/log.do_compile.19743
NOTE: package omap3-sgx-modules-1.3.13.1397-r31: task do_compile: failed
ERROR: TaskFailed event exception, aborting

building virtual/kernel first fixed it.

Should DEPENDS=virtual/kernel be added to the recipe, or is there a better way to fix this?

Thanks,
Cliff

Signature · 3 lines
=======================
Cliff Brake
http://bec-systems.com
#1 lore raw
Quoted 1 line · Cliff Brake

Should DEPENDS=virtual/kernel be added to the recipe,

No:

recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb:
inherit module

classes/module.bbclass:
RDEPENDS += "kernel (${KERNEL_VERSION}) update-modules" DEPENDS += "virtual/kernel"

Looks like something else is going wrong.

regards,

Koen