Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D203DE00839; Tue, 12 Nov 2019 07:52:32 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, * medium trust * [192.55.52.151 listed in list.dnswl.org] Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 970E3E0053F for ; Tue, 12 Nov 2019 07:51:58 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Nov 2019 07:51:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,296,1569308400"; d="scan'208";a="194354395" Received: from bhatavin-mobl1.ger.corp.intel.com (HELO blackadder.local) ([10.249.42.178]) by orsmga007.jf.intel.com with ESMTP; 12 Nov 2019 07:51:57 -0800 To: yocto@yoctoproject.org References: <37113658.2021239.1573572818816.ref@mail.yahoo.com> <37113658.2021239.1573572818816@mail.yahoo.com> From: Ross Burton Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Message-ID: <9858cc6c-aa13-4641-e04d-b2865f7b297f@intel.com> Date: Tue, 12 Nov 2019 15:51:56 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <37113658.2021239.1573572818816@mail.yahoo.com> Subject: Re: Building only the app and not the Linux core X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 15:52:32 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit On 12/11/2019 15:33, gholhakiii@yahoo.com wrote: > Hi all, > > I would like to build my yocto project, but only my applications. I > mean, I would like to separate my Linux build and the application build. > I want to just have my meta-layer which contains my application being > build by calling the bitbake command. > Can anyone give me a pointer? Using the multiconfig is the way to do it? > > Best > Em > > P.S. If I want to be more specific, I just want to use Yocto as a > cross-compilation tool for baremetal applications. Baremetal != "just my app and not Linux". If you want to build a bare metal application then setup the distribution as such: meta-freertos is one example using FreeRTOS, and we have newlib or baremetal options for the toolchain. Using Linux and glibc is just the default and not hardcoded. Ross