diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-03-08 17:00:46 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-03-08 17:00:46 +0000 |
commit | 3ba43e6528779d7f9e582c213298512aad7fdb9e (patch) | |
tree | 29819706b0a4a347682744a92d71ea16163df5cb /target/imagebuilder/Makefile | |
parent | 342ab781f5c77960c061b1479286dbbe3d3370e0 (diff) | |
download | mtk-20170518-3ba43e6528779d7f9e582c213298512aad7fdb9e.zip mtk-20170518-3ba43e6528779d7f9e582c213298512aad7fdb9e.tar.gz mtk-20170518-3ba43e6528779d7f9e582c213298512aad7fdb9e.tar.bz2 |
imagebuilder: add REVISION variable (closes #6795)
SVN-Revision: 20064
Diffstat (limited to 'target/imagebuilder/Makefile')
-rw-r--r-- | target/imagebuilder/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index d0b6b88..923c1e9 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -38,6 +38,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean $(PKG_BUILD_DIR)/target/linux/*/patches \ $(PKG_BUILD_DIR)/target/linux/*/*/patches -cp $(KERNEL_BUILD_DIR)/* $(IB_KDIR)/ # don't copy subdirectories here + echo REVISION:="$(REVISION)" > $(PKG_BUILD_DIR)/include/version.mk find $(PKG_BUILD_DIR) -name .svn | $(XARGS) rm -rf find $(PKG_BUILD_DIR) -name CVS | $(XARGS) rm -rf find $(PKG_BUILD_DIR) -name .git | $(XARGS) rm -rf |