Hi Ross, thank you for your reply.

I tried

...
inherit autotools
inherit module

EXTRA_OECONF = "--sysconfdir=/etc --enable-generic --disable-igb 
--disable-8139too --with-linux-dir=${STAGING_KERNEL_BUILDDIR}"
EXTRA_OEMAKE += "-f ${S}/Makefile.kbuild"
...

and now Makefile.kbuild is found.
The error is now:

| make -C "" M="" INSTALL_MOD_DIR="" modules
| make: the '-C' option requires a non-empty string argument

Makefile.kbuild contains

KBUILD = $(MAKE) -C "$(LINUX_SOURCE_DIR)" M="$(abs_srcdir)" INSTALL_MOD_DIR= 
"$(INSTALL_MOD_DIR)"

modules:
$(KBUILD) modules

so the problem is that these variables are empty.

As there is also a Makefile, containing references to Makefile.kbuild, I also 
tried with

EXTRA_OEMAKE += "-f Makefile"

(the default ${B} should be good here because Makefile doesn't come out of git, 
it is created by configure)

and now I get

| ../../git/lib/domain.c:38:10: fatal error: stdio.h: No such file or directory

and a bunch of similar errors.
--
Daniele Lugli
General Logic srl
Viale Curreno, 41
10133 Torino
Italy
tel +39 329 3933041
www.general-logic.com ( http://www.general-logic.com/ )
www.linkedin.com/in/daniele- lugli ( http://www.linkedin.com/in/daniele-lugli )
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62274): https://lists.yoctoproject.org/g/yocto/message/62274
Mute This Topic: https://lists.yoctoproject.org/mt/103796912/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to