mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
[sdk] don't overwrite version.mk, substitute REVISION instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31271 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7fe2f385bb
commit
360a996cc0
@ -5,6 +5,9 @@
|
|||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Substituted by SDK, do not remove
|
||||||
|
# REVISION:=x
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS += \
|
PKG_CONFIG_DEPENDS += \
|
||||||
CONFIG_VERSION_NUMBER \
|
CONFIG_VERSION_NUMBER \
|
||||||
CONFIG_VERSION_NICK \
|
CONFIG_VERSION_NICK \
|
||||||
|
@ -56,7 +56,7 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
|
|||||||
> $(SDK_BUILD_DIR)/feeds.conf.default
|
> $(SDK_BUILD_DIR)/feeds.conf.default
|
||||||
cat $(TOPDIR)/feeds.conf.default \
|
cat $(TOPDIR)/feeds.conf.default \
|
||||||
>> $(SDK_BUILD_DIR)/feeds.conf.default
|
>> $(SDK_BUILD_DIR)/feeds.conf.default
|
||||||
echo REVISION:="$(REVISION)" > $(SDK_BUILD_DIR)/include/version.mk
|
$(SED) 's,^# REVISION:=.*,REVISION:=$(REVISION),g' $(SDK_BUILD_DIR)/include/version.mk
|
||||||
find $(SDK_BUILD_DIR) -name .git | $(XARGS) rm -rf
|
find $(SDK_BUILD_DIR) -name .git | $(XARGS) rm -rf
|
||||||
find $(SDK_BUILD_DIR) -name .svn | $(XARGS) rm -rf
|
find $(SDK_BUILD_DIR) -name .svn | $(XARGS) rm -rf
|
||||||
find $(SDK_BUILD_DIR) -name CVS | $(XARGS) rm -rf
|
find $(SDK_BUILD_DIR) -name CVS | $(XARGS) rm -rf
|
||||||
|
Loading…
Reference in New Issue
Block a user