]> Git Repo - J-u-boot.git/blame - scripts/ld-version.sh
Merge patch series "env: mmc: fix use of two separate partitions with proper type...
[J-u-boot.git] / scripts / ld-version.sh
CommitLineData
598e2d33 1#!/usr/bin/awk -f
b5142f28 2# SPDX-License-Identifier: GPL-2.0
598e2d33
MY
3# extract linker version number from stdin and turn into single number
4 {
b5142f28
HS
5 gsub(".*\\)", "");
6 gsub(".*version ", "");
7 gsub("-.*", "");
598e2d33 8 split($1,a, ".");
b5142f28 9 print a[1]*100000000 + a[2]*1000000 + a[3]*10000;
598e2d33
MY
10 exit
11 }
This page took 0.345863 seconds and 4 git commands to generate.