Commit 2d52113a authored by Coywolf Qi Hunt's avatar Coywolf Qi Hunt Committed by Sam Ravnborg

kbuild: remove obsolete HEAD in kbuild

Makefile: remove obsolete HEAD
arch/cris/Makefile: replace HEAD with assignment to head-y
Signed-off-by: default avatarCoywolf Qi Hunt <coywolf@greatcn.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent ada1bab4
......@@ -510,7 +510,6 @@ libs-y := $(libs-y1) $(libs-y2)
# normal descending-into-subdirs phase, since at that time
# we cannot yet know if we will need to relink vmlinux.
# So we descend into init/ inside the rule for vmlinux again.
head-y += $(HEAD)
vmlinux-objs := $(head-y) $(init-y) $(core-y) $(libs-y) $(drivers-y) $(net-y)
quiet_cmd_vmlinux__ = LD $@
......
......@@ -39,7 +39,7 @@ CFLAGS := $(subst -fomit-frame-pointer,,$(CFLAGS)) -g
CFLAGS += -fno-omit-frame-pointer
endif
HEAD := arch/$(ARCH)/$(SARCH)/kernel/head.o
head-y := arch/$(ARCH)/$(SARCH)/kernel/head.o
LIBGCC = $(shell $(CC) $(CFLAGS) -print-file-name=libgcc.a)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment