mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Trying to fit this into a linuxbios makefile ...
git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@10 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
e78e828e47
commit
18dba2a72e
1 changed files with 3 additions and 3 deletions
|
@ -396,7 +396,7 @@ endif
|
||||||
# command line.
|
# command line.
|
||||||
# This allow a user to issue only 'make' to build a kernel including modules
|
# This allow a user to issue only 'make' to build a kernel including modules
|
||||||
# Defaults vmlinux but it is usually overriden in the arch makefile
|
# Defaults vmlinux but it is usually overriden in the arch makefile
|
||||||
all: vmlinux
|
all: linuxbios
|
||||||
|
|
||||||
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
|
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
|
||||||
CFLAGS += -Os
|
CFLAGS += -Os
|
||||||
|
@ -544,7 +544,7 @@ endef
|
||||||
|
|
||||||
# vmlinux image - including updated kernel symbols
|
# vmlinux image - including updated kernel symbols
|
||||||
linuxbios.rom: $(linuxbios-lds) $(linuxbios-init) $(linuxbios-main) $(kallsyms.o) FORCE
|
linuxbios.rom: $(linuxbios-lds) $(linuxbios-init) $(linuxbios-main) $(kallsyms.o) FORCE
|
||||||
$(call if_changed_rule,vmlinux__)
|
$(call if_changed_rule,linuxbios)
|
||||||
$(Q)rm -f .old_version
|
$(Q)rm -f .old_version
|
||||||
|
|
||||||
# The actual objects are generated when descending,
|
# The actual objects are generated when descending,
|
||||||
|
@ -696,7 +696,7 @@ depend dep:
|
||||||
# Directories & files removed with 'make clean'
|
# Directories & files removed with 'make clean'
|
||||||
CLEAN_DIRS += $(MODVERDIR)
|
CLEAN_DIRS += $(MODVERDIR)
|
||||||
CLEAN_FILES += linuxbios.rom System.map \
|
CLEAN_FILES += linuxbios.rom System.map \
|
||||||
.tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map
|
.tmp_kallsyms* .tmp_version .tmp_linuxbios* .tmp_System.map
|
||||||
|
|
||||||
# Directories & files removed with 'make mrproper'
|
# Directories & files removed with 'make mrproper'
|
||||||
MRPROPER_DIRS += include/config
|
MRPROPER_DIRS += include/config
|
||||||
|
|
Loading…
Add table
Reference in a new issue