Makefile (7a9787e1eba95a166265e6a260cf30af04ef0a99) | Makefile (db5ea21a14b7c69bf495a741ae37ba15fb9eabd1) |
---|---|
1# Makefile for the Sparc boot stuff. 2# 3# Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 4# Copyright (C) 1997,1998 Jakub Jelinek (jj@ultra.linux.cz) 5 6ROOT_IMG := /usr/src/root.img 7ELFTOAOUT := elftoaout 8 --- 23 unchanged lines hidden (view full) --- 32 $(cmd_sysmap) $@ $(obj)/System.map; \ 33 if [ $$? -ne 0 ]; then \ 34 rm -f $@; \ 35 /bin/false; \ 36 fi; \ 37 echo 'cmd_$@ := $(cmd_image)' > $(@D)/.$(@F).cmd 38endef 39 | 1# Makefile for the Sparc boot stuff. 2# 3# Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 4# Copyright (C) 1997,1998 Jakub Jelinek (jj@ultra.linux.cz) 5 6ROOT_IMG := /usr/src/root.img 7ELFTOAOUT := elftoaout 8 --- 23 unchanged lines hidden (view full) --- 32 $(cmd_sysmap) $@ $(obj)/System.map; \ 33 if [ $$? -ne 0 ]; then \ 34 rm -f $@; \ 35 /bin/false; \ 36 fi; \ 37 echo 'cmd_$@ := $(cmd_image)' > $(@D)/.$(@F).cmd 38endef 39 |
40BTOBJS := $(HEAD_Y) $(INIT_Y) 41BTLIBS := $(CORE_Y) $(LIBS_Y) $(DRIVERS_Y) $(NET_Y) | 40BTOBJS := $(patsubst %/, %/built-in.o, $(VMLINUX_INIT)) 41BTLIBS := $(patsubst %/, %/built-in.o, $(VMLINUX_MAIN)) |
42LDFLAGS_image := -T arch/sparc/kernel/vmlinux.lds $(BTOBJS) \ 43 --start-group $(BTLIBS) --end-group \ 44 $(kallsyms.o) $(obj)/btfix.o 45 46# Link the final image including btfixup'ed symbols. 47# This is a replacement for the link done in the top-level Makefile. 48# Note: No dependency on the prerequisite files since that would require 49# make to try check if they are updated - and due to changes --- 14 unchanged lines hidden --- | 42LDFLAGS_image := -T arch/sparc/kernel/vmlinux.lds $(BTOBJS) \ 43 --start-group $(BTLIBS) --end-group \ 44 $(kallsyms.o) $(obj)/btfix.o 45 46# Link the final image including btfixup'ed symbols. 47# This is a replacement for the link done in the top-level Makefile. 48# Note: No dependency on the prerequisite files since that would require 49# make to try check if they are updated - and due to changes --- 14 unchanged lines hidden --- |