[Buildroot] [PATCH v4 28/36] dos2unix: use prefix instead of DESTDIR for host installation
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Wed Jul 5 11:14:45 UTC 2017
prefix defaults to /usr, so setting DESTDIR installs things in
$(HOST_DIR)/usr.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
package/dos2unix/dos2unix.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/dos2unix/dos2unix.mk b/package/dos2unix/dos2unix.mk
index 87525fb468..276a18ebcc 100644
--- a/package/dos2unix/dos2unix.mk
+++ b/package/dos2unix/dos2unix.mk
@@ -38,7 +38,7 @@ define HOST_DOS2UNIX_BUILD_CMDS
endef
define HOST_DOS2UNIX_INSTALL_CMDS
- $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) ENABLE_NLS= \
+ $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) ENABLE_NLS= \
install
endef
--
2.13.2
More information about the buildroot
mailing list