|
|
@@ -53,7 +53,7 @@ steps:
|
|
53
|
53
|
environment:
|
|
54
|
54
|
MAKEFLAGS: -j 1
|
|
55
|
55
|
# https://wiki.debian.org/CrossCompiling#Building_with_dpkg-buildpackage
|
|
56
|
|
- BUILD_ARCH: armhf # amd64 arm64 armel armhf i386 mips mips64el mipsel powerpc ppc64el s390x
|
|
|
56
|
+ BUILD_ARCH: amd64 armhf # amd64 arm64 armel armhf i386 mips mips64el mipsel powerpc ppc64el s390x
|
|
57
|
57
|
commands:
|
|
58
|
58
|
# DEB_BUILD_ARCH DEB_HOST_ARCH TARGET=armhf
|
|
59
|
59
|
# addr2line ar as c++filt cpp cpp-6 dwp elfedit g++ g++-6 gcc gcc-6 gcc-ar gcc-ar-6 gcc-nm gcc-nm-6 gcc-ranlib gcc-ranlib-6 gcov gcov-6 gcov-dump gcov-dump-6 gcov-tool gcov-tool-6 gprof ld ld.bfd ld.gold nm objcopy objdump ranlib readelf size strings strip
|
|
|
@@ -102,12 +102,11 @@ steps:
|
|
102
|
102
|
cp -rp "$${PKG_SRC_ROOT}/debian" . &&
|
|
103
|
103
|
cp -p "$${PKG_RELEASE_DIR}/$${PKG_DEB_ARCHIVE}" .. &&
|
|
104
|
104
|
echo apt-get build-dep -a $${PKG_ARCH} . &&
|
|
105
|
|
- CONFIG_SITE=/etc/dpkg-cross/cross-config.$${PKG_ARCH}
|
|
106
|
|
- DEB_BUILD_OPTIONS=nocheck
|
|
107
|
|
- dpkg-buildpackage -us -uc -a ${PKG_ARCH} &&
|
|
|
105
|
+ CONFIG_SITE="/etc/dpkg-cross/cross-config.$${PKG_ARCH}"
|
|
|
106
|
+ DEB_BUILD_OPTIONS="nocheck"
|
|
|
107
|
+ dpkg-buildpackage -us -uc -a "${PKG_ARCH}" &&
|
|
108
|
108
|
ls -l .. &&
|
|
109
|
|
- find .. -type f \( -name '*.deb' -o -name '*.dsc' -o name='*.tar.xz' \)
|
|
110
|
|
- -exec cp {} $${PKG_RELEASE_DIR}/ \; ;
|
|
|
109
|
+ cp ../*.tar.xz ../*.deb ../*.dsc "$${PKG_RELEASE_DIR}/" &&
|
|
111
|
110
|
else
|
|
112
|
111
|
make &&
|
|
113
|
112
|
tar --exclude='./.*'
|