All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix external module compilations
@ 2011-07-05 11:55 Anders Darander
  2011-07-05 12:05 ` [meta-oe][PATCH 1/1] kernel.bbclass: make external module compile Anders Darander
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Anders Darander @ 2011-07-05 11:55 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Anders Darander


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(-)

-- 
1.7.4.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH 1/1] kernel.bbclass: make external module compile
  2011-07-05 11:55 [PATCH 0/1] Fix external module compilations Anders Darander
@ 2011-07-05 12:05 ` Anders Darander
  2011-07-05 12:08 ` [PATCH 0/1] Fix external module compilations Anders Darander
  2011-07-05 12:38 ` [meta-oe][PATCH " Phil Blundell
  2 siblings, 0 replies; 5+ messages in thread
From: Anders Darander @ 2011-07-05 12:05 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Anders Darander

When compiling external modules, scripts/basic/fixdep and scripts/mod/modpost, is wanted.
Do not remove too much from the staged kernel sources.

Signed-off-by: Anders Darander <anders@chargestorm.se>
---
 meta-oe/classes/kernel.bbclass |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index 89aeb92..34aaf17 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -161,7 +161,6 @@ kernel_do_install() {
 	# and include files.
 	#
 	oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}" clean
-	make -C $kerneldir _mrproper_scripts
 	find $kerneldir -path $kerneldir/scripts -prune -o -name "*.[csS]" -exec rm '{}' \;
 	find $kerneldir/Documentation -name "*.txt" -exec rm '{}' \;
 
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/1] Fix external module compilations
  2011-07-05 11:55 [PATCH 0/1] Fix external module compilations Anders Darander
  2011-07-05 12:05 ` [meta-oe][PATCH 1/1] kernel.bbclass: make external module compile Anders Darander
@ 2011-07-05 12:08 ` Anders Darander
  2011-07-05 12:38 ` [meta-oe][PATCH " Phil Blundell
  2 siblings, 0 replies; 5+ messages in thread
From: Anders Darander @ 2011-07-05 12:08 UTC (permalink / raw)
  To: openembedded-devel


* 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH 0/1] Fix external module compilations
  2011-07-05 11:55 [PATCH 0/1] Fix external module compilations Anders Darander
  2011-07-05 12:05 ` [meta-oe][PATCH 1/1] kernel.bbclass: make external module compile Anders Darander
  2011-07-05 12:08 ` [PATCH 0/1] Fix external module compilations Anders Darander
@ 2011-07-05 12:38 ` Phil Blundell
  2011-07-05 12:48   ` Anders Darander
  2 siblings, 1 reply; 5+ messages in thread
From: Phil Blundell @ 2011-07-05 12:38 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Anders Darander

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH 0/1] Fix external module compilations
  2011-07-05 12:38 ` [meta-oe][PATCH " Phil Blundell
@ 2011-07-05 12:48   ` Anders Darander
  0 siblings, 0 replies; 5+ messages in thread
From: Anders Darander @ 2011-07-05 12:48 UTC (permalink / raw)
  To: openembedded-devel


* 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-05 12:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-05 11:55 [PATCH 0/1] Fix external module compilations Anders Darander
2011-07-05 12:05 ` [meta-oe][PATCH 1/1] kernel.bbclass: make external module compile Anders Darander
2011-07-05 12:08 ` [PATCH 0/1] Fix external module compilations Anders Darander
2011-07-05 12:38 ` [meta-oe][PATCH " Phil Blundell
2011-07-05 12:48   ` Anders Darander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.