buildsystem: Promote rules.h to default include
Does not fix 3rdparty/, *.S or *.ld or yet. Change-Id: I66b48013dd89540b35ab219d2b64bc13f5f19cda Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/17656 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
committed by
Patrick Georgi
parent
f86baf3e90
commit
5c29daa150
@@ -15,7 +15,6 @@
|
||||
#ifndef BOOTSTATE_H
|
||||
#define BOOTSTATE_H
|
||||
|
||||
#include <rules.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#define _CBMEM_H_
|
||||
|
||||
#include <commonlib/cbmem_id.h>
|
||||
#include <rules.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <boot/coreboot_tables.h>
|
||||
|
@@ -15,7 +15,6 @@
|
||||
#ifndef _CONSOLE_CBMEM_CONSOLE_H_
|
||||
#define _CONSOLE_CBMEM_CONSOLE_H_
|
||||
|
||||
#include <rules.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void cbmemc_init(void);
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#define CONSOLE_CONSOLE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <rules.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <console/post_codes.h>
|
||||
#include <commonlib/loglevel.h>
|
||||
|
@@ -16,7 +16,6 @@
|
||||
#ifndef CONSOLE_FLASH_H
|
||||
#define CONSOLE_FLASH_H 1
|
||||
|
||||
#include <rules.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void flashconsole_init(void);
|
||||
|
@@ -16,7 +16,6 @@
|
||||
#ifndef _NE2K_H__
|
||||
#define _NE2K_H__
|
||||
|
||||
#include <rules.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void ne2k_append_data(unsigned char *d, int len, unsigned int base);
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#ifndef _QEMU_DEBUGCON_H_
|
||||
#define _QEMU_DEBUGCON_H_
|
||||
|
||||
#include <rules.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void qemu_debugcon_init(void);
|
||||
|
@@ -16,7 +16,6 @@
|
||||
#ifndef CONSOLE_SPI_H
|
||||
#define CONSOLE_SPI_H 1
|
||||
|
||||
#include <rules.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void spiconsole_init(void);
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#ifndef SPKMODEM_H
|
||||
#define SPKMODEM_H 1
|
||||
|
||||
#include <rules.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void spkmodem_init(void);
|
||||
|
@@ -16,7 +16,6 @@
|
||||
#ifndef CONSOLE_UART_H
|
||||
#define CONSOLE_UART_H
|
||||
|
||||
#include <rules.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* Return the clock frequency UART uses as reference clock for
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#ifndef _CONSOLE_USB_H_
|
||||
#define _CONSOLE_USB_H_
|
||||
|
||||
#include <rules.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void usbdebug_init(void);
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <rules.h>
|
||||
#include <device/resource.h>
|
||||
#include <device/path.h>
|
||||
#include <device/pci_type.h>
|
||||
|
@@ -19,7 +19,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <rules.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/resource.h>
|
||||
|
@@ -2,7 +2,6 @@
|
||||
#define DEVICE_PNP_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <rules.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pnp_def.h>
|
||||
#include <arch/io.h>
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#ifndef __MEMLAYOUT_H
|
||||
#define __MEMLAYOUT_H
|
||||
|
||||
#include <rules.h>
|
||||
#include <arch/memlayout.h>
|
||||
|
||||
/* Macros that the architecture can override. */
|
||||
|
@@ -2,7 +2,6 @@
|
||||
#define STDDEF_H
|
||||
|
||||
#include <commonlib/helpers.h>
|
||||
#include <rules.h>
|
||||
|
||||
typedef long ptrdiff_t;
|
||||
#ifndef __SIZE_TYPE__
|
||||
|
Reference in New Issue
Block a user