File: build.sh

package info (click to toggle)
opa-fm 10.10.3.0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 18,448 kB
  • sloc: ansic: 251,720; perl: 14,888; sh: 14,847; makefile: 4,001; exp: 1,106; xml: 905; cpp: 93
file content (25 lines) | stat: -rwxr-xr-x 788 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

export BUILD_PLATFORM=LINUX
source MakeTools/funcs-ext.sh

settarget x86_64

export BUILD_WITH_STACK=OPENIB
export BUILD_TARGET=X86_64
export PRODUCT='DPKG'

PKGVERS=$(dpkg-parsechangelog -ldebian/changelog | awk '/^Version:/ {print $2}')
export RELEASE_TAG=${PKGVERS%-*}
export TL_DIR=$PWD
# for HSM the kernel rev is not important.  We simply use the kernel rev
# of the running kernel.  While BUILD_TARGET_OS_VERSION is needed by Makerules
# it will have no impact on what is actually built for HSM
export BUILD_TARGET_OS_VERSION=4.x
setver $BUILD_TARGET_OS_VENDOR $BUILD_TARGET_OS_VERSION
export BUILD_TARGET_OS_ID=4.x-x86_64

cd Esm && ./rpm_runmake

# Check the results of the build for errors and unexpected warnings.
./check_results -r build.res build.err build.warn