Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/2] kernel bbclass: convert to new style staging (from poky)
Date: Sat, 17 Apr 2010 14:03:49 +0200	[thread overview]
Message-ID: <hqc836$6kc$1@dough.gmane.org> (raw)
In-Reply-To: <lyiq7qe2uv.fsf@ensc-virt.intern.sigma-chemnitz.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17-04-10 13:27, Enrico Scholz wrote:
> Koen Kooi <koen.kooi@gmail.com> writes:
> 
>>  	if [ -e include/asm ] ; then
>>  		# This link is generated only in kernel before 2.6.33-rc1, don't stage it for newer kernels
>>  		ASMDIR=`readlink include/asm`
>>  
>> -		mkdir -p ${STAGING_KERNEL_DIR}/include/$ASMDIR
>> -		cp -fR include/$ASMDIR/* ${STAGING_KERNEL_DIR}/include/$ASMDIR/
>> +		mkdir -p $kerneldir/include/$ASMDIR
>> +		cp -fR include/$ASMDIR/* $kerneldir/include/$ASMDIR/
>>  	fi
>> +
>> +	cp -fR include/$ASMDIR/* $kerneldir/include/$ASMDIR/
> 
> this breaks on recent kernels because they do no have include/asm and
> ASMDIR won't be defined here.
> 
> 
>>  	if [ -e arch/${ARCH}/include/asm/ ] ; then 
>> -		if [ -e include/asm ] ; then
>> -			cp -fR arch/${ARCH}/include/asm/* ${STAGING_KERNEL_DIR}/include/$ASMDIR/
>> -		fi
>> -		install -d ${STAGING_KERNEL_DIR}/arch/${ARCH}/include
>> -		cp -fR arch/${ARCH}/* ${STAGING_KERNEL_DIR}/arch/${ARCH}/	
>> +		cp -fR arch/${ARCH}/include/asm/* $kerneldir/include/$ASMDIR/
> 
> ditto

That should be fixed now, thanks for pointing it out.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLyaOlMkyGM64RGpERAnR7AJ4vt2QC6JdPRwyPsa1/Khsll9JlvgCfWRbU
IjQvo6EZCAWkAbywrcna/MY=
=NAMq
-----END PGP SIGNATURE-----




      reply	other threads:[~2010-04-17 12:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15 10:35 [PATCH 1/2] kernel bbclass: convert to new style staging (from poky) Koen Kooi
2010-04-15 10:35 ` [PATCH 2/2] recipes/linux: convert users of do_stage_append to new style staging Koen Kooi
2010-04-16 11:34   ` Philip Balister
2010-04-15 10:35 ` linux-davinci git: add hack for hawkboard machine ID Koen Kooi
2010-04-15 10:38   ` Koen Kooi
2010-04-15 12:54 ` [PATCH 1/2] kernel bbclass: convert to new style staging (from poky) Graeme Gregory
2010-04-16  9:28 ` Koen Kooi
2010-04-16 11:33 ` Philip Balister
2010-04-17 11:27 ` Enrico Scholz
2010-04-17 12:03   ` Koen Kooi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hqc836$6kc$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox