diff options
-rw-r--r-- | meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb b/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb index bd60b9f1e6..8ac3b18697 100644 --- a/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb +++ b/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb | |||
@@ -32,15 +32,18 @@ EXTRA_OEMAKE = "\ | |||
32 | INITSCRIPT_NAME = "irattach" | 32 | INITSCRIPT_NAME = "irattach" |
33 | INITSCRIPT_PARAMS = "defaults 20" | 33 | INITSCRIPT_PARAMS = "defaults 20" |
34 | 34 | ||
35 | TARGETS ??= "irattach irdaping" | ||
35 | do_compile () { | 36 | do_compile () { |
36 | oe_runmake -C irattach | 37 | for t in ${TARGETS}; do |
37 | oe_runmake -C irdaping | 38 | oe_runmake -C $t |
39 | done | ||
38 | } | 40 | } |
39 | 41 | ||
40 | do_install () { | 42 | do_install () { |
41 | install -d ${D}${sbindir} | 43 | install -d ${D}${sbindir} |
42 | oe_runmake -C irattach ROOT="${D}" install | 44 | for t in ${TARGETS}; do |
43 | oe_runmake -C irdaping ROOT="${D}" install | 45 | oe_runmake -C $t ROOT="${D}" install |
46 | done | ||
44 | 47 | ||
45 | install -d ${D}${sysconfdir}/init.d | 48 | install -d ${D}${sysconfdir}/init.d |
46 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | 49 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} |