Browse Source

fix

tags/v0.0.60
Peter Vivell 6 years ago
parent
commit
465f252198
1 changed files with 1 additions and 9 deletions
  1. 1
    9
      drone.yml

+ 1
- 9
drone.yml View File

@@ -43,9 +43,6 @@ steps:
43 43
       - BUILD_DEPS=libhidapi-dev libssl-dev
44 44
       - BUILD_ARCH=i386 amd64 armhf armel # amd64 arm64 armel armhf i386 mips mips64el mipsel powerpc ppc64el s390x
45 45
 
46
-
47
-
48
-
49 46
 - name: build
50 47
   image: reg.unino.de/develop/debian-${DRONE_REPO_NAMESPACE}-${DRONE_REPO_NAME}:latest
51 48
   # https://readme.drone.io/user-guide/pipeline/
@@ -58,10 +55,7 @@ steps:
58 55
     # https://wiki.debian.org/CrossCompiling#Building_with_dpkg-buildpackage
59 56
     BUILD_ARCH: amd64 armhf # amd64 arm64 armel armhf i386 mips mips64el mipsel powerpc ppc64el s390x
60 57
   commands:
61
-
62
-
63 58
     # DEB_BUILD_ARCH DEB_HOST_ARCH TARGET=armhf
64
-
65 59
     - PKG_NAME="${DRONE_REPO_NAME}" &&
66 60
       PKG_VERSION="$(git describe --always)" &&
67 61
       PKG_SRC_ROOT="$(pwd)" &&
@@ -82,7 +76,6 @@ steps:
82 76
         mkdir -p "$${PKG_BUILD_DIR}" &&
83 77
         tar -xf "$${PKG_RELEASE_DIR}/$${PKG_DEB_ARCHIVE}" -C "$${PKG_BUILD_DIR}" --strip 1 &&
84 78
         cd "$${PKG_BUILD_DIR}" &&
85
-        export MAKEFLAGS="$${MAKEFLAGS}" &&
86 79
         case $${PKG_ARCH} in 
87 80
           amd64) PREFIX="" ;;
88 81
           armhf) PREFIX="arm-linux-gnueabihf-" ;;
@@ -90,7 +83,7 @@ steps:
90 83
         export CC="$${PREFIX}gcc" &&
91 84
         export LD="$${PREFIX}ld" &&
92 85
         export STRIP="$${PREFIX}strip" &&
93
-        echo $${CC} &&
86
+        export MAKEFLAGS="$${MAKEFLAGS}" &&
94 87
         make &&
95 88
         tar --exclude='./.*'
96 89
           --transform "s/\./$${PKG_RELEASE_ARCHIVE_ROOT}/"
@@ -102,7 +95,6 @@ steps:
102 95
       find "$${PKG_RELEASE_DIR}" -type f -exec md5sum '{}' \;
103 96
 
104 97
 
105
-
106 98
 #        tar --exclude='./.*'
107 99
 #          --transform "s/$${PKG_DIST_DIR}/$${PKG_RELEASE_ARCHIVE_ROOT}/"
108 100
 #          -cJvf "$${PKG_RELEASE_DIR}/$${PKG_RELEASE_ARCHIVE}" "${PKG_DIST_DIR}" &&

Loading…
Cancel
Save