1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +02:00

Remove the Makefile

As was described in the version 1.4 release notes, this deletes the
Makefile and supporting elements leaving Meson as the only supported
buildsystem.

Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: Ib3cf22cf636ef9b70527b734ffa34aead2a74edd
Reviewed-on: https://review.coreboot.org/c/flashrom/+/83673
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
Peter Marheine
2024-07-29 11:46:13 +10:00
parent 03090fec0a
commit 133b112d09
23 changed files with 27 additions and 1820 deletions

View File

@ -5,13 +5,6 @@ set -e
is_scan_build_env=0
make_programmer_opts="INTERNAL INTERNAL_X86 SERPROG RAYER_SPI RAIDEN_DEBUG_SPI PONY_SPI NIC3COM \
GFXNVIDIA SATASII ATAHPT ATAVIA ATAPROMISE FT2232_SPI USBBLASTER_SPI MSTARDDC_SPI \
PICKIT2_SPI STLINKV3_SPI PARADE_LSPCON MEDIATEK_I2C_SPI REALTEK_MST_I2C_SPI DUMMY \
DRKAISER NICREALTEK NICNATSEMI NICINTEL NICINTEL_SPI NICINTEL_EEPROM OGP_SPI \
BUSPIRATE_SPI DEDIPROG DEVELOPERBOX_SPI SATAMV LINUX_MTD LINUX_SPI IT8212 \
CH341A_SPI CH347_SPI DIGILENT_SPI DIRTYJTAG_SPI JLINK_SPI ASM106X"
meson_programmer_opts="all auto group_ftdi group_i2c group_jlink group_pci group_serial group_usb \
atahpt atapromise atavia buspirate_spi ch341a_spi ch347_spi dediprog \
developerbox_spi digilent_spi dirtyjtag_spi drkaiser dummy ft2232_spi \
@ -31,24 +24,6 @@ run_linter() {
}
build_make () {
make clean
make -j $(nproc) CONFIG_EVERYTHING=yes
# In case of clang analyzer we don't want to run it on
# each programmer individually. Thus, just return here.
if [ ${is_scan_build_env} -eq 1 ]; then
return
fi
for option in ${make_programmer_opts}; do
echo "Building ${option}"
make clean
make -j $(nproc) CONFIG_NOTHING=yes CONFIG_${option}=yes
done
}
build_meson () {
build_dir=out
meson_opts="-Dtests=enabled -Dman-pages=enabled -Ddocumentation=enabled"
@ -74,5 +49,4 @@ build_meson () {
run_linter
build_make
build_meson