Patchwork [0/1] Fix external module compilations

login
register
mail settings
Submitter Anders Darander
Date July 5, 2011, 11:55 a.m.
Message ID <cover.1309866872.git.anders@chargestorm.se>
Download mbox
Permalink /patch/6973/
State Rejected
Headers show

Pull-request

git://github.com/darander/meta-oe fixdep

Comments

Anders Darander - July 5, 2011, 11:55 a.m.
When compiling an external module, the compilation errors out, when
scripts/basic/fixdep and later on scripts/mod/modpost is being requested. The
removal of 'make -C $kerneldir _mrproper_scripts' fixes these problems.

The following changes since commit 340cc366c7feff983a85f9e9ae8ae1f537239f5b:

  gcc-4.5: Edit defaults.h in ${B} instead of ${S}, and t-oe in ${B} (2011-07-02 22:40:22 +0200)

are available in the git repository at:
  git://github.com/darander/meta-oe fixdep
  https://github.com/darander/meta-oe/tree/fixdep

Anders Darander (1):
  kernel.bbclass: make external module compile

 meta-oe/classes/kernel.bbclass |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Anders Darander - July 5, 2011, 12:08 p.m.
* Anders Darander Anders Darander <anders@chargestorm.se> [07/05/11 02:04 PM]:
> When compiling an external module, the compilation errors out, when
> scripts/basic/fixdep and later on scripts/mod/modpost is being requested.
>

Forget about this e-mail. 
I've just sent an new one, with meta-oe in the subject.

Cheers,
Anders
Phil Blundell - July 5, 2011, 12:38 p.m.
On Tue, 2011-07-05 at 14:05 +0200, Anders Darander wrote:
> When compiling an external module, the compilation errors out, when
> scripts/basic/fixdep and later on scripts/mod/modpost is being requested. The
> removal of 'make -C $kerneldir _mrproper_scripts' fixes these problems.

It is a bit sad that these sorts of changes need to be done twice.  Is
there a compelling reason why meta-oe needs to maintain its own version
of kernel.bbclass rather than sharing it with oe-core?

p.
Anders Darander - July 5, 2011, 12:48 p.m.
* Phil Blundell Phil Blundell <philb@gnu.org> [07/05/11 02:38 PM]:
> On Tue, 2011-07-05 at 14:05 +0200, Anders Darander wrote:
> > When compiling an external module, the compilation errors out, when
> > scripts/basic/fixdep and later on scripts/mod/modpost is being requested.
> > The removal of 'make -C $kerneldir _mrproper_scripts' fixes these
> > problems.
> 
> It is a bit sad that these sorts of changes need to be done twice.  Is
> there a compelling reason why meta-oe needs to maintain its own version
> of kernel.bbclass rather than sharing it with oe-core?

Yes, it is certainly a sad state.

The primary difference seems to be some changes in the uImage-related code, and 
that meta-oe has some initramfs-support in its kernel.bbclass.

Can someone with deeper knowledge comment on this? I guess that it shouldn't 
be any real problems in getting the initramfs support code merged into oe-
core. 

What about the differences in the uImage code? (I haven't really looked into 
the differences).

Cheers,
Anders