summaryrefslogtreecommitdiff
path: root/target/imagebuilder
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-24 15:46:12 +0000
committerJohn Crispin <john@openwrt.org>2014-07-24 15:46:12 +0000
commitcaa671d873c2c8b2649fce3d51b63eef6d9b982d (patch)
treeb08096e00ad9038dae58bcc21eda616949f394ca /target/imagebuilder
parent9231df566517da7cc679b5a09832e9eb84d31ef3 (diff)
downloadmtk-20170518-caa671d873c2c8b2649fce3d51b63eef6d9b982d.zip
mtk-20170518-caa671d873c2c8b2649fce3d51b63eef6d9b982d.tar.gz
mtk-20170518-caa671d873c2c8b2649fce3d51b63eef6d9b982d.tar.bz2
imagebuilder: fix typo that copied grub to the wrong folder
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41824
Diffstat (limited to 'target/imagebuilder')
-rw-r--r--target/imagebuilder/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile
index 3ea4f97..1a7cbbf 100644
--- a/target/imagebuilder/Makefile
+++ b/target/imagebuilder/Makefile
@@ -25,7 +25,7 @@ all: compile
$(BIN_DIR)/$(IB_NAME).tar.bz2: clean
rm -rf $(PKG_BUILD_DIR)
- mkdir -p $(IB_KDIR) $(IB_LDIR) $(PKG_BUILD_DIR)/staging_dir/{host,lib} \
+ mkdir -p $(IB_KDIR) $(IB_LDIR) $(PKG_BUILD_DIR)/staging_dir/host/lib \
$(PKG_BUILD_DIR)/target $(PKG_BUILD_DIR)/scripts $(IB_DTSDIR)
-cp $(TOPDIR)/.config $(PKG_BUILD_DIR)/.config
$(CP) \
@@ -40,7 +40,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
$(CP) $(PACKAGE_DIR) $(PKG_BUILD_DIR)/packages
$(CP) $(TOPDIR)/target/linux $(PKG_BUILD_DIR)/target/
if [ -d $(TOPDIR)/staging_dir/host/lib/grub ]; then \
- $(CP) $(TOPDIR)/staging_dir/host/lib/grub/ $(PKG_BUILD_DIR)/staging_dir/lib; \
+ $(CP) $(TOPDIR)/staging_dir/host/lib/grub/ $(PKG_BUILD_DIR)/staging_dir/host/lib; \
fi
rm -rf \
$(PKG_BUILD_DIR)/target/linux/*/files{,-*} \