Replace includes of build.h with version.h
As build.h is an auto-generated file it was necessary to add it as an explicit prerequisite in the Makefiles. When this was forgotten abuild would sometimes fail with following error: fatal error: build.h: No such file or directory Fix this error by compiling version.c into all stages. Change-Id: I342f341077cc7496aed279b00baaa957aa2af0db Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7510 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
339064a0bf
commit
c36af7b00a
31 changed files with 108 additions and 76 deletions
|
|
@ -36,4 +36,3 @@ CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)
|
|||
CPPFLAGS_common += -I$(src)/northbridge/intel/fsp_rangeley/
|
||||
CPPFLAGS_common += -I$(src)/northbridge/intel/fsp_rangeley/fsp
|
||||
|
||||
$(obj)/northbridge/intel/fsp_rangeley/acpi.ramstage.o : $(obj)/build.h
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <build.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/acpigen.h>
|
||||
#include "northbridge.h"
|
||||
|
|
|
|||
|
|
@ -34,4 +34,3 @@ smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c
|
|||
|
||||
CPPFLAGS_common += -I$(src)/northbridge/intel/fsp_sandybridge/fsp
|
||||
|
||||
$(obj)/northbridge/intel/fsp_sandybridge/acpi.ramstage.o : $(obj)/build.h
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <build.h>
|
||||
#include <drivers/intel/gma/i915.h>
|
||||
#include <arch/acpigen.h>
|
||||
#include "northbridge.h"
|
||||
|
|
|
|||
|
|
@ -40,4 +40,3 @@ mrc.bin-file := $(call strip_quotes,$(CONFIG_MRC_FILE))
|
|||
mrc.bin-position := 0xfffa0000
|
||||
mrc.bin-type := 0xab
|
||||
|
||||
$(obj)/northbridge/intel/haswell/acpi.ramstage.o : $(obj)/build.h
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <build.h>
|
||||
#include "haswell.h"
|
||||
#include <cbmem.h>
|
||||
#include <arch/acpigen.h>
|
||||
|
|
|
|||
|
|
@ -42,4 +42,3 @@ mrc.cache-file := $(obj)/mrc.cache
|
|||
mrc.cache-position := 0xfffe0000
|
||||
mrc.cache-type := 0xac
|
||||
|
||||
$(obj)/northbridge/intel/nehalem/acpi.ramstage.o : $(obj)/build.h
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <drivers/intel/gma/intel_bios.h>
|
||||
#include <build.h>
|
||||
#include <arch/acpigen.h>
|
||||
#include <cpu/cpu.h>
|
||||
#include <drivers/intel/gma/i915.h>
|
||||
|
|
|
|||
|
|
@ -65,4 +65,3 @@ mrc.cache-position := $(mrc-cache-position-y)
|
|||
mrc.cache-type := 0xac
|
||||
endif
|
||||
|
||||
$(obj)/northbridge/intel/sandybridge/acpi.ramstage.o : $(obj)/build.h
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <build.h>
|
||||
#include <drivers/intel/gma/i915.h>
|
||||
#include <arch/acpigen.h>
|
||||
#include "sandybridge.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue