Rename devices -> device
to match src/include/device Change-Id: I5d0e5b4361c34881a3b81347aac48738cb5b9af0 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1960 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
parent
4b6be985aa
commit
8d7115560d
|
@ -48,7 +48,7 @@ PHONY+= clean-abuild coreboot lint lint-stable build-dirs
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# root source directories of coreboot
|
# root source directories of coreboot
|
||||||
subdirs-y := src/lib src/console src/devices src/ec src/southbridge
|
subdirs-y := src/lib src/console src/device src/ec src/southbridge
|
||||||
subdirs-y += src/northbridge src/superio src/drivers src/cpu src/vendorcode
|
subdirs-y += src/northbridge src/superio src/drivers src/cpu src/vendorcode
|
||||||
subdirs-y += util/cbfstool util/sconfig util/nvramtool
|
subdirs-y += util/cbfstool util/sconfig util/nvramtool
|
||||||
subdirs-y += src/arch/$(ARCHDIR-y)
|
subdirs-y += src/arch/$(ARCHDIR-y)
|
||||||
|
@ -184,7 +184,7 @@ COREBOOT_EXTRA_VERSION := -$(call strip_quotes,$(CONFIG_LOCALVERSION))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
INCLUDES := -Isrc -Isrc/include -I$(obj) -Isrc/arch/$(ARCHDIR-y)/include
|
INCLUDES := -Isrc -Isrc/include -I$(obj) -Isrc/arch/$(ARCHDIR-y)/include
|
||||||
INCLUDES += -Isrc/devices/oprom/include
|
INCLUDES += -Isrc/device/oprom/include
|
||||||
# abspath is a workaround for romcc
|
# abspath is a workaround for romcc
|
||||||
INCLUDES += -include $(src)/include/kconfig.h
|
INCLUDES += -include $(src)/include/kconfig.h
|
||||||
|
|
||||||
|
|
|
@ -238,7 +238,7 @@ source src/ec/Kconfig
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source src/devices/Kconfig
|
source src/device/Kconfig
|
||||||
|
|
||||||
menu "Generic Drivers"
|
menu "Generic Drivers"
|
||||||
source src/drivers/Kconfig
|
source src/drivers/Kconfig
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
||||||
extern void mainboard_interrupt_handlers(int intXX, void *intXX_func);
|
extern void mainboard_interrupt_handlers(int intXX, void *intXX_func);
|
||||||
#elif CONFIG_PCI_OPTION_ROM_RUN_YABEL
|
#elif CONFIG_PCI_OPTION_ROM_RUN_YABEL
|
||||||
#include <devices/oprom/yabel/biosemu.h>
|
#include <device/oprom/yabel/biosemu.h>
|
||||||
#else
|
#else
|
||||||
static inline void mainboard_interrupt_handlers(int intXX, void *intXX_func) { }
|
static inline void mainboard_interrupt_handlers(int intXX, void *intXX_func) { }
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include "registers.h"
|
#include "registers.h"
|
||||||
#include <x86emu/regs.h>
|
#include <x86emu/regs.h>
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
||||||
#include <devices/oprom/realmode/x86.h>
|
#include <device/oprom/realmode/x86.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PCI Domain 1 Device 0 Function 0 */
|
/* PCI Domain 1 Device 0 Function 0 */
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include <arch/interrupt.h>
|
#include <arch/interrupt.h>
|
||||||
#include <x86emu/regs.h>
|
#include <x86emu/regs.h>
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
||||||
#include <devices/oprom/realmode/x86.h>
|
#include <device/oprom/realmode/x86.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int via_vt8623_int15_handler(void)
|
static int via_vt8623_int15_handler(void)
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include <arch/interrupt.h>
|
#include <arch/interrupt.h>
|
||||||
#include <x86emu/regs.h>
|
#include <x86emu/regs.h>
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
||||||
#include <devices/oprom/realmode/x86.h>
|
#include <device/oprom/realmode/x86.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PCI Domain 1 Device 0 Function 0 */
|
/* PCI Domain 1 Device 0 Function 0 */
|
||||||
|
|
|
@ -16,7 +16,7 @@ You can use the log2dress to dress the log again:
|
||||||
|
|
||||||
...
|
...
|
||||||
src/arch/x86/lib/c_start.S:85 calls /home/ruik/coreboot/src/boot/selfboot.c:367
|
src/arch/x86/lib/c_start.S:85 calls /home/ruik/coreboot/src/boot/selfboot.c:367
|
||||||
/home/ruik/coreboot/src/boot/selfboot.c:370 calls /home/ruik/coreboot/src/devices/device.c:325
|
/home/ruik/coreboot/src/boot/selfboot.c:370 calls /home/ruik/coreboot/src/device/device.c:325
|
||||||
...
|
...
|
||||||
|
|
||||||
Alternatively, you can use genprof to generate a gmon.out file, which can be used
|
Alternatively, you can use genprof to generate a gmon.out file, which can be used
|
||||||
|
|
|
@ -12,7 +12,7 @@ CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
|
||||||
CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
|
CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
|
||||||
CFLAGS += -Wstrict-aliasing -Wshadow -Wextra
|
CFLAGS += -Wstrict-aliasing -Wshadow -Wextra
|
||||||
|
|
||||||
INCLUDES = -Iinclude -I../../src/devices/oprom/include/
|
INCLUDES = -Iinclude -I../../src/device/oprom/include/
|
||||||
|
|
||||||
INTOBJS = int10.o int15.o int16.o int1a.o inte6.o
|
INTOBJS = int10.o int15.o int16.o int1a.o inte6.o
|
||||||
X86EMUOBJS = sys.o decode.o ops.o ops2.o prim_ops.o fpu.o debug.o
|
X86EMUOBJS = sys.o decode.o ops.o ops2.o prim_ops.o fpu.o debug.o
|
||||||
|
|
Loading…
Reference in New Issue