Stefan thinks they don't add value. Command used: sed -i -e '/file is part of /d' $(git grep "file is part of " |egrep ":( */\*.*\*/\$|#|;#|-- | *\* )" | cut -d: -f1 |grep -v crossgcc |grep -v gcov | grep -v /elf.h |grep -v nvramtool) The exceptions are for: - crossgcc (patch file) - gcov (imported from gcc) - elf.h (imported from GNU's libc) - nvramtool (more complicated header) The removed lines are: - fmt.Fprintln(f, "/* This file is part of the coreboot project. */") -# This file is part of a set of unofficial pre-commit hooks available -/* This file is part of coreboot */ -# This file is part of msrtool. -/* This file is part of msrtool. */ - * This file is part of ncurses, designed to be appended after curses.h.in -/* This file is part of pgtblgen. */ - * This file is part of the coreboot project. - /* This file is part of the coreboot project. */ -# This file is part of the coreboot project. -# This file is part of the coreboot project. -## This file is part of the coreboot project. --- This file is part of the coreboot project. -/* This file is part of the coreboot project */ -/* This file is part of the coreboot project. */ -;## This file is part of the coreboot project. -# This file is part of the coreboot project. It originated in the - * This file is part of the coreinfo project. -## This file is part of the coreinfo project. - * This file is part of the depthcharge project. -/* This file is part of the depthcharge project. */ -/* This file is part of the ectool project. */ - * This file is part of the GNU C Library. - * This file is part of the libpayload project. -## This file is part of the libpayload project. -/* This file is part of the Linux kernel. */ -## This file is part of the superiotool project. -/* This file is part of the superiotool project */ -/* This file is part of uio_usbdebug */ Change-Id: I82d872b3b337388c93d5f5bf704e9ee9e53ab3a9 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41194 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
83 lines
2.9 KiB
Makefile
83 lines
2.9 KiB
Makefile
##
|
|
##
|
|
##
|
|
## SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
ifeq ($(CONFIG_CAVIUM_BDK),y)
|
|
|
|
romstage-y += bdk/libbdk-arch/bdk-csr.c
|
|
romstage-y += bdk/libbdk-arch/bdk-model.c
|
|
romstage-y += bdk/libbdk-arch/bdk-numa.c
|
|
romstage-y += bdk/libbdk-boot/bdk-boot-status.c
|
|
romstage-y += bdk/libbdk-dram/bdk-dram-address.c
|
|
romstage-y += bdk/libbdk-dram/bdk-dram-config.c
|
|
romstage-y += bdk/libbdk-dram/bdk-dram-size.c
|
|
romstage-y += bdk/libbdk-dram/bdk-dram-test.c
|
|
romstage-y += bdk/libbdk-dram/bdk-dram-test-addrbus.c
|
|
romstage-y += bdk/libbdk-dram/bdk-dram-test-databus.c
|
|
romstage-y += bdk/libbdk-dram/bdk-dram-test-fastscan.c
|
|
romstage-y += bdk/libbdk-dram/bdk-dram-test-patfil.c
|
|
romstage-y += bdk/libbdk-driver/bdk-driver-rnm.c
|
|
romstage-y += bdk/libbdk-hal/bdk-clock.c
|
|
romstage-y += bdk/libbdk-hal/bdk-config.c
|
|
romstage-y += bdk/libbdk-hal/bdk-gpio.c
|
|
romstage-y += bdk/libbdk-hal/bdk-l2c.c
|
|
romstage-y += bdk/libbdk-os/bdk-init.c
|
|
romstage-y += bdk/libbdk-trust/bdk-trust.c
|
|
romstage-y += bdk/libdram/dram-env.c
|
|
romstage-y += bdk/libdram/dram-init-ddr3.c
|
|
romstage-y += bdk/libdram/dram-l2c.c
|
|
romstage-y += bdk/libdram/dram-spd.c
|
|
romstage-y += bdk/libdram/dram-tune-ddr3.c
|
|
romstage-y += bdk/libdram/lib_octeon_shared.c
|
|
romstage-y += bdk/libdram/libdram.c
|
|
romstage-y += bdk/libdram/libdram-config-load.c
|
|
romstage-y += bdk/libbdk-hal/bdk-access.c
|
|
|
|
# FIXME: Get rid of lame_string.c
|
|
romstage-y += bdk/lame_string.c
|
|
|
|
CPPFLAGS_common += -Isrc/vendorcode/cavium/include/bdk
|
|
|
|
# For bdk_dram_get_size_mbytes()
|
|
ramstage-y += bdk/libbdk-dram/bdk-dram-size.c
|
|
|
|
ramstage-y += bdk/libbdk-hal/bdk-config.c
|
|
ramstage-y += bdk/libbdk-hal/bdk-qlm.c
|
|
ramstage-y += bdk/libbdk-hal/bdk-pcie-cn8xxx.c
|
|
ramstage-y += bdk/libbdk-hal/bdk-pcie.c
|
|
ramstage-y += bdk/libbdk-hal/bdk-gpio.c
|
|
ramstage-y += bdk/libbdk-hal/bdk-ecam-io.c
|
|
ramstage-y += bdk/libbdk-hal/bdk-usb.c
|
|
ramstage-y += bdk/libbdk-hal/bdk-access.c
|
|
|
|
ramstage-y += bdk/libbdk-arch/bdk-csr.c
|
|
ramstage-y += bdk/libbdk-arch/bdk-model.c
|
|
ramstage-y += bdk/libbdk-arch/bdk-numa.c
|
|
ramstage-y += bdk/libbdk-hal/qlm/bdk-qlm-common.c
|
|
ramstage-y += bdk/libbdk-hal/qlm/bdk-qlm-errata-cn8xxx.c
|
|
ramstage-y += bdk/libbdk-hal/qlm/bdk-qlm-common-sata.c
|
|
ramstage-y += bdk/libbdk-hal/qlm/bdk-qlm-margin-cn8xxx.c
|
|
|
|
ramstage-y += bdk/libbdk-boot/bdk-boot-qlm.c
|
|
ramstage-y += bdk/libbdk-boot/bdk-boot-pcie.c
|
|
ramstage-y += bdk/libbdk-boot/bdk-boot-usb.c
|
|
ramstage-y += bdk/libbdk-boot/bdk-boot-gpio.c
|
|
ramstage-y += bdk/libbdk-boot/bdk-boot.c
|
|
|
|
ramstage-y += bdk/libbdk-hal/if/bdk-if-phy.c
|
|
ramstage-y += bdk/libbdk-hal/if/bdk-if-phy-marvell.c
|
|
ramstage-y += bdk/libbdk-hal/if/bdk-if-phy-vetesse-8514.c
|
|
ramstage-y += bdk/libbdk-hal/if/bdk-if-phy-vetesse.c
|
|
ramstage-y += bdk/libbdk-driver/bdk-driver-mdio.c
|
|
ramstage-y += bdk/libbdk-driver/bdk-driver-rnm.c
|
|
ramstage-y += bdk/libbdk-hal/device/bdk-device.c
|
|
ramstage-y += bdk/libbdk-hal/bdk-ecam.c
|
|
|
|
# FIXME: Get rid of lame_string.c
|
|
ramstage-y += bdk/lame_string.c
|
|
|
|
ramstage-$(CONFIG_SOC_CAVIUM_CN81XX) += bdk/libbdk-hal/qlm/bdk-qlm-cn81xx.c
|
|
|
|
endif
|