aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/formfactor/formfactor_0.0.bb
blob: 5c30bd510d05b3ff170038cd70e5a1915ba71b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "Device formfactor information"
SECTION = "base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r45"

SRC_URI = "file://config file://machconfig"
S = "${WORKDIR}"

PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_DEFAULT_DEPS = "1"

do_install() {
	# Install file only if it has contents
        install -d ${D}${sysconfdir}/formfactor/
        install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/
	if [ -s "${S}/machconfig" ]; then
	        install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/
	fi
}
Yocto Project Application Developer's Guide </title> <authorgroup> <author> <firstname>Jessica</firstname> <surname>Zhang</surname> <affiliation> <orgname>Intel Corporation</orgname> </affiliation> <email>jessica.zhang@intel.com</email> </author> </authorgroup> <revhistory> <revision> <revnumber>1.0</revnumber> <date>6 April 2011</date> <revremark>Released with the Yocto Project 1.0 Release.</revremark> </revision> <revision> <revnumber>1.0.1</revnumber> <date>23 May 2011</date> <revremark>Released with the Yocto Project 1.0.1 Release.</revremark> </revision> <revision> <revnumber>1.1</revnumber> <date>6 October 2011</date> <revremark>Released with the Yocto Project 1.1 Release.</revremark> </revision> <revision> <revnumber>1.2</revnumber> <date>April 2012</date> <revremark>Released with the Yocto Project 1.2 Release.</revremark> </revision> <revision> <revnumber>1.3</revnumber> <date>October 2012</date> <revremark>Released with the Yocto Project 1.3 Release.</revremark> </revision> <revision> <revnumber>1.4</revnumber> <date>April 2013</date> <revremark>Released with the Yocto Project 1.4 Release.</revremark> </revision> <revision> <revnumber>1.5</revnumber> <date>Sometime in 2013</date> <revremark>Released with the Yocto Project 1.5 Release.</revremark> </revision> </revhistory> <copyright> <year>&COPYRIGHT_YEAR;</year> <holder>Linux Foundation</holder> </copyright> <legalnotice> <para> Permission is granted to copy, distribute and/or modify this document under the terms of the <ulink type="http" url="http://creativecommons.org/licenses/by-sa/2.0/uk/">Creative Commons Attribution-Share Alike 2.0 UK: England &amp; Wales</ulink> as published by Creative Commons. </para> <note> Due to production processes, there could be differences between the Yocto Project documentation bundled in the release tarball and the <ulink url='&YOCTO_DOCS_ADT_URL;'>Yocto Project Application Developer's Guide</ulink> on the <ulink url='&YOCTO_HOME_URL;'>Yocto Project</ulink> website. For the latest version of this manual, see the manual on the website. </note> </legalnotice> </bookinfo> <xi:include href="adt-intro.xml"/> <xi:include href="adt-prepare.xml"/> <xi:include href="adt-package.xml"/> <xi:include href="adt-command.xml"/> <!-- <index id='index'> <title>Index</title> </index> --> </book> <!-- vim: expandtab tw=80 ts=4 -->