summaryrefslogtreecommitdiff
path: root/src/arch/riscv/include
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-09-05 10:39:21 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-09-06 17:57:31 +0000
commit7a9716bb45066795b59b3c82374d0d7c5b8b7062 (patch)
treece84f1c037d2628487fd75a96c8ecf7469c8220c /src/arch/riscv/include
parentc547996c7cc11ace34b296324798591cc568cc96 (diff)
src: remove force-included header rules.h from individual files
The header file `rules.h` is automatically included in the build by the top level makefile using the command: `-include src/soc/intel/common/block/scs/early_mmc.c`. Similar to `config.h` and 'kconfig.h`, this file does not need to be included manually, so remove it. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I23a1876b4b671d8565cf9b391d3babf800c074db Reviewed-on: https://review.coreboot.org/c/coreboot/+/67348 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/riscv/include')
-rw-r--r--src/arch/riscv/include/arch/header.ld2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/riscv/include/arch/header.ld b/src/arch/riscv/include/arch/header.ld
index d8147728ee..ddb618c293 100644
--- a/src/arch/riscv/include/arch/header.ld
+++ b/src/arch/riscv/include/arch/header.ld
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <rules.h>
-
/* We use ELF as output format. So that we can debug the code in some form. */
OUTPUT_ARCH(riscv)