summaryrefslogtreecommitdiff
path: root/target/imagebuilder/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-04-12 23:08:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-04-12 23:08:13 +0000
commit3cb72f38fda3b3b94bb866b8a37001396ac2f784 (patch)
tree56ab35bedaf0415eed2d89397581f88eb514110a /target/imagebuilder/Makefile
parentd8540259cab2e430a22f2d908529a5faf65d64ca (diff)
downloadmtk-20170518-3cb72f38fda3b3b94bb866b8a37001396ac2f784.zip
mtk-20170518-3cb72f38fda3b3b94bb866b8a37001396ac2f784.tar.gz
mtk-20170518-3cb72f38fda3b3b94bb866b8a37001396ac2f784.tar.bz2
populate repositories.conf from version.mk
SVN-Revision: 31268
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 3008399..3d04656 100644
--- a/target/imagebuilder/Makefile
+++ b/target/imagebuilder/Makefile
@@ -8,6 +8,7 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/host.mk
+include $(INCLUDE_DIR)/version.mk
override MAKEFLAGS=
@@ -34,7 +35,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
$(TMP_DIR)/.targetinfo \
$(TMP_DIR)/.packageinfo \
$(PKG_BUILD_DIR)/
- $(SED) 's/$$A/$(BOARD)/' $(PKG_BUILD_DIR)/repositories.conf
+ $(VERSION_SED) $(PKG_BUILD_DIR)/repositories.conf
$(CP) $(PACKAGE_DIR) $(PKG_BUILD_DIR)/packages
$(CP) $(STAGING_DIR_HOST)/bin $(PKG_BUILD_DIR)/staging_dir/host/
$(CP) $(TOPDIR)/target/linux $(PKG_BUILD_DIR)/target/