Skip to content

Commit 4225dc8

Browse files
committed
Remove Makefile
Remove the Makefile and all the references in the README and CI scripts. Signed-off-by: Neil Armstrong <[email protected]>
1 parent 93a2e19 commit 4225dc8

File tree

6 files changed

+13
-74
lines changed

6 files changed

+13
-74
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,31 +48,32 @@ jobs:
4848
- ubuntu:jammy
4949
- ubuntu:focal
5050
- ubuntu:bionic
51-
- ubuntu:xenial
51+
# Meson version on Ubuntu Xenial is really too old
52+
#- ubuntu:xenial
5253
cross_compile: [""]
5354
variant: [""]
5455
include:
5556
# Debian 32-bit builds
5657
- container: "debian:testing"
5758
arch: i386
5859
family: x86
59-
compiler: gcc -m32
60+
compiler: gcc
6061
cross_compile: i686-linux-gnu
6162
pkg_config_path: /usr/lib/i386-linux-gnu/pkgconfig
6263
variant: i386
6364

6465
- container: "debian:stable"
6566
arch: i386
6667
family: x86
67-
compiler: gcc -m32
68+
compiler: gcc
6869
cross_compile: i686-linux-gnu
6970
pkg_config_path: /usr/lib/i386-linux-gnu/pkgconfig
7071
variant: i386
7172

7273
- container: "debian:bookworm"
7374
arch: i386
7475
family: x86
75-
compiler: gcc -m32
76+
compiler: gcc
7677
cross_compile: i686-linux-gnu
7778
pkg_config_path: /usr/lib/i386-linux-gnu/pkgconfig
7879
variant: i386
@@ -203,13 +204,13 @@ jobs:
203204
204205
# i386 build on x86_64 only requires passing -m32 to CFLAGS & LDFLAGS
205206
- name: Meson init for i386
206-
if: ${{ matrix.container != 'ubuntu:xenial' && matrix.variant == 'i386' }}
207+
if: ${{ matrix.variant == 'i386' }}
207208
run: |
208209
mkdir build
209210
CFLAGS="-m32" LDFLAGS="-m32" meson setup . build
210211
211212
- name: Meson init with cross compile
212-
if: ${{ matrix.container != 'ubuntu:xenial' && matrix.variant == 'cross-compile' }}
213+
if: ${{ matrix.variant == 'cross-compile' }}
213214
run: |
214215
# Generate cross compile file (see https://mesonbuild.com/Cross-compilation.html#cross-compilation)
215216
echo "[binaries]" > cross.txt
@@ -229,18 +230,13 @@ jobs:
229230
meson setup --cross-file cross.txt . build
230231
231232
- name: Meson init
232-
if: ${{ matrix.container != 'ubuntu:xenial' && matrix.variant == '' }}
233+
if: ${{ matrix.variant == '' }}
233234
run: |
234235
mkdir build
235-
# Ubuntu Xenial Meson version doesn't support meson setup, so use old way by default
236-
meson . build
237-
238-
- name: Ninja build
239-
if: ${{ matrix.container != 'ubuntu:xenial' }}
240-
run: ninja -C build
236+
meson setup . build
241237
242238
- name: Compile
243-
run: make -j$(nproc)
239+
run: ninja -C build
244240

245241
- name: Install
246-
run: make install
242+
run: ninja -C build install

Makefile

Lines changed: 0 additions & 51 deletions
This file was deleted.

README

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,15 @@ The CDBA control tool is used for remotely booting images on development boards
33
attached using a CDB Assist [https://github.com/sonyxperiadev/CDB-Assist] or Conmux.
44

55
= Dependencies
6-
sudo apt-get install libudev-dev libyaml-dev libftdi1-dev for debian systems
7-
dnf install systemd-devel libyaml-devel libftdi1-devel for fedora systems
6+
sudo apt-get install libudev-dev libyaml-dev libftdi1-dev pkg-config meson for debian systems
7+
dnf install systemd-devel libyaml-devel libftdi1-devel pkg-config meson for fedora systems
88

99
= Device side
1010
On the host with the CDB Assist or Conmux attached the "cdba-server" executable is run
1111
from sandbox/cdba/cdba-server. Available devices are read from $HOME/.cdba
1212

1313
= Build instructions
1414

15-
Either use make directly:
16-
# make
17-
or use the Meson build system:
1815
# meson . build
1916
# ninja -C build
2017

ci/archlinux.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pacman -Syu --noconfirm \
2020
libftdi-compat \
2121
libyaml \
2222
systemd-libs \
23-
make \
2423
pkgconf \
2524
meson \
2625
$PKGS_CC

ci/debian.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ apt install -y --no-install-recommends \
3232
libftdi-dev \
3333
libudev-dev \
3434
libyaml-dev \
35-
make \
3635
meson \
3736
$PKGS_CC
3837

ci/fedora.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ dnf -y install \
2020
libftdi-devel \
2121
libudev-devel \
2222
libyaml-devel \
23-
make \
2423
meson \
2524
$PKGS_CC
2625

0 commit comments

Comments
 (0)