aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vadim Kochan <vadim4j@gmail.com>2019-01-14 05:55:32 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-01-24 20:07:55 +0100
commitd90ae717e565b580ca71f625d54cccff6929caac (patch)
tree71b3dca275f8580525a2c67681c71dd3e8c1a4f3
parenta8e130e5d13716754414d2f8ffd01456e26ac7b7 (diff)
downloadbuildroot-d90ae717e565b580ca71f625d54cccff6929caac.tar.gz
buildroot-d90ae717e565b580ca71f625d54cccff6929caac.tar.bz2
package/dash: Create $(TARGET_DIR)/bin before install
The build fails because $(TARGET_DIR)/bin folder may not exist if for example to use the following defconfig: BR2_x86_64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16=y BR2_SYSTEM_BIN_SH_DASH=y BR2_TARGET_GENERIC_GETTY_PORT="tty1" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16.7" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_S6_LINUX_INIT=y BR2_TARGET_ROOTFS_EXT2=y Signed-off-by: Vadim Kochan <vadim4j@gmail.com> [Peter: use install -D] Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 89fdf21d58c44b58f566d14056a13598e99cd538) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/dash/dash.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dash/dash.mk b/package/dash/dash.mk
index 2d415558d2..8f15890669 100644
--- a/package/dash/dash.mk
+++ b/package/dash/dash.mk
@@ -28,7 +28,7 @@ DASH_CONF_OPTS += --without-libedit
endif
define DASH_INSTALL_TARGET_CMDS
- $(INSTALL) -m 0755 $(@D)/src/dash $(TARGET_DIR)/bin/dash
+ $(INSTALL) -m 0755 -D $(@D)/src/dash $(TARGET_DIR)/bin/dash
endef
$(eval $(autotools-package))