7191fe6f76
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2215 311d38ba-8fff-0310-9ca6-ca027cbcb966
18 lines
454 B
BlitzBasic
18 lines
454 B
BlitzBasic
DESCRIPTION = "Device formfactor information"
|
|
SECTION = "base"
|
|
PR = "r6"
|
|
|
|
SRC_URI = "file://config file://machconfig"
|
|
S = "${WORKDIR}"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
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
|
|
}
|