Embedded Linux Development with Yocto Project by Salvador Otavio & Angolini Daiane
Author:Salvador, Otavio & Angolini, Daiane [Salvador, Otavio]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2014-07-08T16:00:00+00:00
Usually, we need to access the BitBake database when writing a Python function. A convention among all metadata is that the d variable is used to point to the BitBake's database, and it is usually passed as the last parameter of a function.
So, in the preceding example, we ask the database the value of the SOMECONDITION variable and return a value depending on it.
The example results in DEPENDS containing dependencywithcond.
The inheritance system
The inherit directive is a means of specifying what classes of functionality our recipe (.bb) requires. It is a rudimentary form of inheritance. For example, we can easily abstract out the tasks involved in using autoconf and automake, and put that into .bbclass for our recipes to make use of it. A given .bbclass is located by searching for classes/filename.bbclass in BBPATH, where filename is what we inherited. So, in a recipe that uses autoconf or automake, we can use the following:
inherit autotools
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
AI & Machine Learning | Bioinformatics |
Computer Simulation | Cybernetics |
Human-Computer Interaction | Information Theory |
Robotics | Systems Analysis & Design |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8301)
Test-Driven Development with Java by Alan Mellor(6728)
Data Augmentation with Python by Duc Haba(6641)
Principles of Data Fabric by Sonia Mezzetta(6392)
Learn Blender Simulations the Right Way by Stephen Pearson(6292)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6165)
Hadoop in Practice by Alex Holmes(5958)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5807)
RPA Solution Architect's Handbook by Sachin Sahgal(5561)
Big Data Analysis with Python by Ivan Marin(5367)
The Infinite Retina by Robert Scoble Irena Cronin(5252)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5147)
Pretrain Vision and Large Language Models in Python by Emily Webber(4330)
Infrastructure as Code for Beginners by Russ McKendrick(4091)
Functional Programming in JavaScript by Mantyla Dan(4038)
The Age of Surveillance Capitalism by Shoshana Zuboff(3955)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3805)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3609)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3580)
