aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-09-16 16:14:32 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-09-26 05:41:53 +0200
commitcf2ab9ecbfcdac90c331509e9b5e25e51aa73248 (patch)
treec5c6fae6da4050fb25c454cc9dbadd2afa7f7668 /meta-oe/recipes-connectivity
parent7325e284b6c30c28381b0fb98bd9f433005d06a7 (diff)
downloadmeta-openembedded-contrib-cf2ab9ecbfcdac90c331509e9b5e25e51aa73248.tar.gz
hostapd: use ${PN} for SYSTEMD_SERVICE
Use ${PN} for SYSTEMD_SERVICE to avoid errors in case of multilib. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity')
-rw-r--r--meta-oe/recipes-connectivity/hostapd/hostapd_2.2.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.2.bb b/meta-oe/recipes-connectivity/hostapd/hostapd_2.2.bb
index f1c6b3a80f..b75f2b9a7e 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.2.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.2.bb
@@ -7,9 +7,9 @@ SUMMARY = "User space daemon for extended IEEE 802.11 management"
inherit update-rc.d systemd
INITSCRIPT_NAME = "hostapd"
-SYSTEMD_PACKAGES = "hostapd"
-SYSTEMD_SERVICE_hostapd = "hostapd.service"
-SYSTEMD_AUTO_ENABLE_hostapd = "disable"
+
+SYSTEMD_SERVICE_${PN} = "hostapd.service"
+SYSTEMD_AUTO_ENABLE_${PN} = "disable"
DEFAULT_PREFERENCE = "-1"