tinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
2b7b3f50a7
commit
577a1b2072
|
@ -16,9 +16,12 @@ endef
|
|||
|
||||
define TINYHTTPD_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/httpd $(TARGET_DIR)/usr/sbin/tinyhttpd
|
||||
$(INSTALL) -m 0755 -D package/tinyhttpd/S85tinyhttpd \
|
||||
$(TARGET_DIR)/etc/init.d/S85tinyhttpd
|
||||
mkdir -p $(TARGET_DIR)/var/www
|
||||
endef
|
||||
|
||||
define TINYHTTPD_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/tinyhttpd/S85tinyhttpd \
|
||||
$(TARGET_DIR)/etc/init.d/S85tinyhttpd
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
|
Loading…
Reference in a new issue