summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/build b/build
index 8e6d600..768d274 100755
--- a/build
+++ b/build
@@ -13,6 +13,8 @@ menuconfig:
build:
set -e; \
if [ 'x$(OPK_HOST_PLAT)' != 'xdev' ]; then \
+ printf '%s\n' '$(OPK_SOURCE_VERSION)' | sed 's/^.*-/-/;' \
+ 1>src/localversion; \
read img_src img_dest <image; \
oh-autobuild -T "$${img_src}" -- -j "$${JOBS:-1}"; \
fi