aboutsummaryrefslogtreecommitdiff
path: root/package/busybox/initramfs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/initramfs.mk')
-rw-r--r--package/busybox/initramfs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/busybox/initramfs.mk b/package/busybox/initramfs.mk
index 257ec7db4a..efdc852f74 100644
--- a/package/busybox/initramfs.mk
+++ b/package/busybox/initramfs.mk
@@ -11,7 +11,7 @@ BB_INITRAMFS_TARGET:=$(IMAGE).initramfs_lst
$(BUSYBOX_INITRAMFS_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
rm -rf $(BUILD_DIR)/tmp $(BUSYBOX_INITRAMFS_DIR)
- -mkdir $(BUILD_DIR)/tmp
+ mkdir -p $(BUILD_DIR)/tmp
$(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR)/tmp $(TAR_OPTIONS) -
ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
mv $(BUILD_DIR)/tmp/busybox $(BUSYBOX_INITRAMFS_DIR)
@@ -22,7 +22,7 @@ endif
$(BUSYBOX_INITRAMFS_DIR)/.config $(BUSYBOX_INITRAMFS_DIR)/.configured: $(BUSYBOX_INITRAMFS_DIR)/.unpacked
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
- CROSS="$(TARGET_CROSS)" -C $(BUSYBOX_INITRAMFS_DIR) \
+ CROSS="$(TARGET_CROSS)" -C $(BUSYBOX_INITRAMFS_DIR) \
allnoconfig
mv $(BUSYBOX_INITRAMFS_DIR)/.config $(BUSYBOX_INITRAMFS_DIR)/.config.no
(echo CONFIG_PREFIX=\"$(BR2_INITRAMFS_DIR)\"; \