summaryrefslogtreecommitdiff
path: root/target/imagebuilder/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-27 22:16:40 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-27 22:16:40 +0000
commitcdd44e7984e86ef62b87229700533f571a1d9dff (patch)
treea133c7f78d4c674409a51e05030a314bf82b05be /target/imagebuilder/Makefile
parentea5b74da62083484cfa4bacfb6b478701217a3ec (diff)
downloadmtk-20170518-cdd44e7984e86ef62b87229700533f571a1d9dff.zip
mtk-20170518-cdd44e7984e86ef62b87229700533f571a1d9dff.tar.gz
mtk-20170518-cdd44e7984e86ef62b87229700533f571a1d9dff.tar.bz2
- correctly copy .config when scripts/env is used in the buildroot - prevent user provides PACKAGES from overriding per-profile defaults
SVN-Revision: 21213
Diffstat (limited to 'target/imagebuilder/Makefile')
-rw-r--r--target/imagebuilder/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile
index e0b64ea..42fb7bb 100644
--- a/target/imagebuilder/Makefile
+++ b/target/imagebuilder/Makefile
@@ -23,9 +23,10 @@ all: compile
$(BIN_DIR)/$(IB_NAME).tar.bz2: clean
rm -rf $(PKG_BUILD_DIR)
mkdir -p $(IB_KDIR) $(PKG_BUILD_DIR)/staging_dir/host $(PKG_BUILD_DIR)/target
+ -cp $(TOPDIR)/.config $(PKG_BUILD_DIR)/.config
$(CP) \
$(INCLUDE_DIR) $(SCRIPT_DIR) \
- $(TOPDIR)/rules.mk $(TOPDIR)/.config \
+ $(TOPDIR)/rules.mk \
./files/Makefile \
$(TMP_DIR)/.targetinfo \
$(TMP_DIR)/.packageinfo \