mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
it's now trying to build the mainboard and failing. This is good. Time
to get includes into shape. git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@15 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
f9779f8be4
commit
eac34e0c2c
3 changed files with 6 additions and 6 deletions
|
@ -258,7 +258,7 @@ AFLAGS =
|
|||
# Use LINUXBIOSINCLUDE when you must reference the include/ directory.
|
||||
# Needed to be compatible with the O= option
|
||||
LINUXBIOSINCLUDE := -Iinclude \
|
||||
-I$(srctree)/include) \
|
||||
-I$(srctree)/include \
|
||||
-include include/linuxbios/autoconf.h
|
||||
|
||||
CPPFLAGS := $(LINUXBIOSINCLUDE)
|
||||
|
@ -438,7 +438,7 @@ CFLAGS += $(call cc-option,-Wno-pointer-sign,)
|
|||
export LBBUILD_IMAGE ?= linuxbios.rom startup_code.rom
|
||||
|
||||
|
||||
core-y := mainboard/
|
||||
core-y := mainboard/$(MAINBOARD)/
|
||||
ifeq ($(LBBUILD_COMPRESSORS),)
|
||||
core-y += compressors
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Makefile for the linux kernel.
|
||||
# Makefile for this mainboard
|
||||
#
|
||||
|
||||
obj-y = mainboard.o irq_tables.o setup_before_car.o
|
||||
|
|
|
@ -30,7 +30,7 @@ ifneq ($(hostprogs-y)$(hostprogs-m),)
|
|||
include scripts/Makefile.host
|
||||
endif
|
||||
|
||||
ifneq ($(LBBIOSBUILD_SRC),)
|
||||
ifneq ($(LBBUILD_SRC),)
|
||||
# Create output directory if not already present
|
||||
_dummy := $(shell [ -d $(obj) ] || mkdir -p $(obj))
|
||||
|
||||
|
@ -60,8 +60,8 @@ __build: $(builtin-target) $(lib-target) $(extra-y) \
|
|||
|
||||
|
||||
# Linus' kernel sanity checking tool
|
||||
ifneq ($(LBBIOSBUILD_CHECKSRC),0)
|
||||
ifeq ($(LBBIOSBUILD_CHECKSRC),2)
|
||||
ifneq ($(LBBUILD_CHECKSRC),0)
|
||||
ifeq ($(LBBUILD_CHECKSRC),2)
|
||||
quiet_cmd_force_checksrc = CHECK $<
|
||||
cmd_force_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ;
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue