diff options
-rw-r--r-- | meta-oe/recipes-support/mcelog/mcelog_191.bb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/mcelog/mcelog_191.bb b/meta-oe/recipes-support/mcelog/mcelog_191.bb index e713433469..3c1c451c02 100644 --- a/meta-oe/recipes-support/mcelog/mcelog_191.bb +++ b/meta-oe/recipes-support/mcelog/mcelog_191.bb | |||
@@ -18,11 +18,18 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
20 | 20 | ||
21 | inherit autotools-brokensep ptest | 21 | inherit ptest |
22 | 22 | ||
23 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' | 23 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' |
24 | 24 | ||
25 | do_install:append() { | 25 | EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'" |
26 | |||
27 | do_compile() { | ||
28 | oe_runmake | ||
29 | } | ||
30 | |||
31 | do_install() { | ||
32 | oe_runmake install DESTDIR=${D} | ||
26 | install -d ${D}${sysconfdir}/cron.hourly | 33 | install -d ${D}${sysconfdir}/cron.hourly |
27 | install -m 0755 ${S}/mcelog.cron ${D}${sysconfdir}/cron.hourly/ | 34 | install -m 0755 ${S}/mcelog.cron ${D}${sysconfdir}/cron.hourly/ |
28 | sed -i 's/bash/sh/' ${D}${sysconfdir}/cron.hourly/mcelog.cron | 35 | sed -i 's/bash/sh/' ${D}${sysconfdir}/cron.hourly/mcelog.cron |