2007-05-23 09:51:31 +00:00
|
|
|
DESCRIPTION = "Device formfactor information"
|
|
|
|
SECTION = "base"
|
2010-07-16 05:13:37 +00:00
|
|
|
LICENSE = "MIT"
|
2011-04-20 15:56:03 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
|
|
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
2012-08-20 15:44:36 +00:00
|
|
|
PR = "r21"
|
2007-05-23 09:51:31 +00:00
|
|
|
|
|
|
|
SRC_URI = "file://config file://machconfig"
|
|
|
|
S = "${WORKDIR}"
|
2007-06-01 11:21:04 +00:00
|
|
|
|
2007-05-23 09:51:31 +00:00
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
2011-06-10 08:08:18 +00:00
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
2007-05-23 09:51:31 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
# Only install file if it has a 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
|
|
|
|
}
|