mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 12:01:05 +00:00
Makefile
Also allow overwrite of OBJCOPY, OBJDUMP and WINDRES
This commit is contained in:
parent
5449ca2dbf
commit
4e2324216d
3 changed files with 38 additions and 38 deletions
|
@ -78,7 +78,7 @@ build-i686-linux-gnu:
|
|||
- export OBJDUMP=i686-linux-gnu-objdump
|
||||
- export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig
|
||||
- *ccache
|
||||
- make --directory=src CCACHE=1 OBJCOPY=$OBJCOPY OBJDUMP=$OBJDUMP LINUX=1
|
||||
- make --directory=src CCACHE=1 LINUX=1
|
||||
|
||||
build-aarch64-linux-gnu:
|
||||
<<: *job_build
|
||||
|
@ -95,7 +95,7 @@ build-aarch64-linux-gnu:
|
|||
- export OBJDUMP=aarch64-linux-gnu-objdump
|
||||
- export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
|
||||
- *ccache
|
||||
- make --directory=src CCACHE=1 OBJCOPY=$OBJCOPY OBJDUMP=$OBJDUMP LINUX64=1 NONX86=1
|
||||
- make --directory=src CCACHE=1 LINUX64=1 NONX86=1
|
||||
|
||||
build-x86_64-linux-gnu:
|
||||
<<: *job_build
|
||||
|
@ -112,7 +112,7 @@ build-x86_64-linux-gnu:
|
|||
- export OBJDUMP=x86_64-linux-gnu-objdump
|
||||
- export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
|
||||
- *ccache
|
||||
- make --directory=src CCACHE=1 OBJCOPY=$OBJCOPY OBJDUMP=$OBJDUMP LINUX64=1
|
||||
- make --directory=src CCACHE=1 LINUX64=1
|
||||
|
||||
build-i686-w64-mingw32:
|
||||
<<: *job_build
|
||||
|
|
|
@ -141,9 +141,9 @@ endif
|
|||
|
||||
OBJDUMP_OPTS?=--wide --source --line-numbers
|
||||
|
||||
OBJCOPY:=$(call Prefix,objcopy)
|
||||
OBJDUMP:=$(call Prefix,objdump)
|
||||
WINDRES:=$(call Prefix,windres)
|
||||
OBJCOPY?=$(call Prefix,objcopy)
|
||||
OBJDUMP?=$(call Prefix,objdump)
|
||||
WINDRES?=$(call Prefix,windres)
|
||||
|
||||
GZIP?=gzip
|
||||
GZIP_OPTS?=-9 -f -n
|
||||
|
|
Loading…
Reference in a new issue