connman: use the *_INSTALL_INIT_SYSV infra instead of the custom hook
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
e5cf8d5999
commit
04ea76404a
@ -24,11 +24,10 @@ CONNMAN_DEPENDENCIES += \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_NEARD),neard) \
|
||||
$(if $(BR2_PACKAGE_CONNMAN_OFONO),ofono)
|
||||
|
||||
define CONNMAN_INSTALL_INITSCRIPT
|
||||
define CONNMAN_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman
|
||||
endef
|
||||
|
||||
CONNMAN_POST_INSTALL_TARGET_HOOKS = CONNMAN_INSTALL_INITSCRIPT
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y)
|
||||
CONNMAN_CONF_OPT += --enable-client
|
||||
|
Loading…
Reference in New Issue
Block a user