bind: use BIND_PKGDIR vairable
authorChristopher McCrory <chrismcc@gmail.com>
Tue, 27 Feb 2018 12:39:22 +0000 (04:39 -0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 27 Feb 2018 21:22:14 +0000 (22:22 +0100)
Use the BIND_PKGDIR variable instead of package/bind.

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/bind/bind.mk

index bec902079c31be8f3db725703a3ac95ae235d9de..392ef321c23fec1df1e8748f6c9b13ddcc6fba97 100644 (file)
@@ -93,11 +93,11 @@ endef
 
 ifeq ($(BR2_PACKAGE_BIND_SERVER),y)
 define BIND_INSTALL_INIT_SYSV
-       $(INSTALL) -m 0755 -D package/bind/S81named \
+       $(INSTALL) -m 0755 -D $(BIND_PKGDIR)/S81named \
                $(TARGET_DIR)/etc/init.d/S81named
 endef
 define BIND_INSTALL_INIT_SYSTEMD
-       $(INSTALL) -D -m 644 package/bind/named.service \
+       $(INSTALL) -D -m 644 $(BIND_PKGDIR)/named.service \
                $(TARGET_DIR)/usr/lib/systemd/system/named.service
 
        mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants