Various cosmetic fixes (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@200 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Uwe Hermann 2007-03-06 05:08:31 +00:00
parent 474e9c7761
commit 54bfbf97e5
7 changed files with 24 additions and 20 deletions

View file

@ -9,7 +9,7 @@ menu "General setup"
config EXPERIMENTAL
bool "Prompt for development and/or incomplete code/mainboards"
---help---
help
Enable this option if you want to test development features or
incomplete/unsupported mainboards.
@ -18,7 +18,7 @@ config EXPERIMENTAL
config EXPERT
bool "Expert mode"
---help---
help
This allows you to select certain advanced configuration options.
It is mainly intended for LinuxBIOS developers.

View file

@ -28,8 +28,8 @@ SUBLEVEL = 0
have_dotconfig := $(wildcard .config)
have_dotxcompile := $(wildcard .xcompile)
src:=$(shell pwd)
obj:=$(shell pwd)/build
src := $(shell pwd)
obj := $(shell pwd)/build
export src obj
# Do not print "Entering directory ...".
@ -97,6 +97,7 @@ include device/Makefile
include console/Makefile
include mainboard/$(MAINBOARDDIR)/Makefile
include arch/$(ARCH)/Makefile
endif
include util/Makefile

View file

@ -38,6 +38,7 @@ LINUXBIOS_COMPONENTS := linuxbios.lar linuxbios.vpd stage0.init
$(obj)/linuxbios.rom: $(patsubst %,$(obj)/%,$(LINUXBIOS_COMPONENTS))
$(Q)cat $^ > $@
#
# Build the LAR archive.
#
@ -125,6 +126,7 @@ $(obj)/linuxbios.stage2: $(obj)/stage0.init $(STAGE2_OBJ)
$(Q)objcopy -O binary $(obj)/linuxbios.stage2.o $(obj)/linuxbios.stage2
$(Q)printf "done\n"
#
# The payload as we love it. Get it from somewhere.
# Is this a place to incorporate buildrom?
@ -137,15 +139,17 @@ payload:
$(Q)printf "Building payload... skipped\n"
# build rules
#
# Build rules.
#
$(obj)/%.o: $(src)/arch/x86/%.c
$(Q)$(CC) $(INITCFLAGS) -c $< -o $@
$(obj)/%.o: $(src)/mainboard/$(MAINBOARDDIR)/%.c
$(Q)$(CC) $(INITCFLAGS) -c $< -o $@
# Building asm stub
# Building asm stub.
$(obj)/stage0%.o: $(src)/arch/x86/stage0%.S
$(Q)$(CC) -E $(LINUXBIOSINCLUDE) $< \
-o $(obj)/stage0_asm.s -DBOOTBLK=0x1f00 -DRESRVED=0xf0 \

View file

@ -1,8 +1,7 @@
#
# Documentation Makefile
# Documentation Makefile.
#
dochelp:
@echo ' LinuxBIOS internal documentation in different formats:'
@echo ' pdfdocs (PDF)'

View file

@ -35,12 +35,12 @@ config LINUXBIOS_ROMSIZE_KB_512
config LINUXBIOS_ROMSIZE_KB_1024
bool "1024 KB (1 MB)"
help
Choose this option if you have a 1 MB (1024 KB) ROM chip.
Choose this option if you have a 1024 KB (1 MB) ROM chip.
config LINUXBIOS_ROMSIZE_KB_2048
bool "2048 KB (2 MB)"
help
Choose this option if you have a 2 MB (2048 KB) ROM chip.
Choose this option if you have a 2048 KB (2 MB) ROM chip.
endchoice