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 26 27 28
|
#!/usr/bin/make -f
export DH_GOLANG_INSTALL_EXTRA := \
arm64/arm64asm/inst.json \
x86/x86asm/testdata/libmach8db.c
# We want to build only the library packages themselves, not the accompanying
# binaries.
export DH_GOLANG_EXCLUDES := \
arm/armmap \
arm/armspec \
arm64/arm64gen \
arm64/arm64spec \
loong64/loong64spec \
ppc64/ppc64map \
ppc64/ppc64spec \
ppc64/ppc64util \
riscv64/riscv64spec \
s390x/s390xmap \
s390x/s390xspec \
s390x/s390xutil \
x86/x86avxgen \
x86/x86map \
x86/x86spec
%:
dh $@ --buildsystem=golang --with=golang
|