From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mail.openembedded.org (Postfix) with ESMTP id BD7FF65E1A for ; Thu, 11 Sep 2014 02:41:03 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id bj1so6924293pad.23 for ; Wed, 10 Sep 2014 19:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=nIb1ydB31yPt8/HDMGbyJOmRQwX+WRhcZHn4oyklE+4=; b=tXXi5uTkZhZhP2PgmQUseNNfDpF1gxYVOAcdplKLoe0QhOZx6hcQoLjq0RddS9RQO6 YrCDVbasrfyE17v7stEcXkEt7Irg1oa24yLHSlhkW0oxGN9IfwgUz0x4oG3OEjHCWmdH AtCEIYFZ1f/gR461ZnpKxGGFRo+bkAW1h4VguRyJadGRq6hkiFQjkAjpWlR6U4ow3aO+ ElLrlY/e38hv9xkuYpX8xskHMVoi+MLZIU6O5bXElTerCH8HdaFVyW5YzmcKwe99Qd1z yBZaEXaf/lMTp13/FDaQe+er934RSvf9OwqC5aEoTmHts9d6cnbDbhY1N16RohCuuqTG G2Dw== X-Received: by 10.68.194.66 with SMTP id hu2mr43956865pbc.19.1410403265127; Wed, 10 Sep 2014 19:41:05 -0700 (PDT) Received: from ?IPv6:2601:c:9380:601:65ee:d8a:8e61:5f7f? ([2601:c:9380:601:65ee:d8a:8e61:5f7f]) by mx.google.com with ESMTPSA id o2sm15886786pde.30.2014.09.10.19.41.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Sep 2014 19:41:03 -0700 (PDT) Message-ID: <54110BBD.2050400@gmail.com> Date: Wed, 10 Sep 2014 19:41:01 -0700 From: akuster808 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Richard Purdie References: <1410227590-14190-1-git-send-email-akuster808@gmail.com> <1410227590-14190-2-git-send-email-akuster808@gmail.com> <1410249927.19272.42.camel@ted> In-Reply-To: <1410249927.19272.42.camel@ted> Cc: openembedded-core@lists.openembedded.org Subject: Re: [[PATCH] qemuppc64: add machine X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 02:41:07 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 09/09/2014 01:05 AM, Richard Purdie wrote: > On Mon, 2014-09-08 at 18:53 -0700, Armin Kuster wrote: >> override USER_CLASSES as prelink does not currently >> work on ppc64 >> --- >> meta/conf/machine/qemuppc64.conf | 16 ++++++++++++++++ >> 1 file changed, 16 insertions(+) >> create mode 100644 meta/conf/machine/qemuppc64.conf >> >> diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf >> new file mode 100644 >> index 0000000..86916e5 >> --- /dev/null >> +++ b/meta/conf/machine/qemuppc64.conf >> @@ -0,0 +1,16 @@ >> +#@TYPE: Machine >> +#@NAME: qemu PPC 64 Emulator setup >> +#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation >> + >> +require conf/machine/include/qemu.inc >> +DEFAULTTUNE ?= "ppc64p6" >> +require conf/machine/include/tune-power6.inc >> + >> +#prelink broken >> +USER_CLASSES = "buildstats image-mklibs " > > This is horrible. Can we somehow blacklist qemuppc64 in the prelink > class itself? > > USER_CLASSES_remove = "prelink" That does not work nor does USER_CLASSES_remove = " image-prelink " "image-prelink" is removed from the variable but pre-linking is still affecting the image. bitbake -e | grep ^USER_CLASSES USER_CLASSES="buildstats image-mklibs" I noticed that IMAGE_PREPROCESS_COMMAND variable has prelink in it. bitbake -e | grep ^IMAGE_PREPROCESS_COMMAND IMAGE_PREPROCESS_COMMAND=" mklibs_optimize_image; prelink_image; " If I override USER_CLASSES like above, then pre-link is not present in either variable. you really want me to fix the prelinking on ppc64 ;) If anyone has any pointers on where to look, let me know. - Armin > > would be better than overriding the users choice like above... > > Cheers, > > Richard > >> +KERNEL_IMAGETYPE = "vmlinux" >> + >> +IMAGE_FSTYPES = "ext2 ext3" >> + >> +SERIAL_CONSOLE ?= "ttyS0" >> -- >> 1.9.1 >> > >