Makefile (a88b5ba8bd8ac18aad65ee6c6a254e2e74876db3) | Makefile (a8c601ca21e790f6a9d996bb0bf31f7496eb9509) |
---|---|
1# 2# sparc/Makefile 3# 4# Makefile for the architecture dependent flags and dependencies on the 5# Sparc and sparc64. 6# 7# Copyright (C) 1994,1996,1998 David S. Miller (davem@caip.rutgers.edu) 8# Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) --- 75 unchanged lines hidden (view full) --- 84VMLINUX_MAIN := $(core-y) kernel/ mm/ fs/ ipc/ security/ crypto/ block/ 85VMLINUX_MAIN += $(patsubst %/, %/lib.a, $(libs-y)) $(libs-y) 86VMLINUX_MAIN += $(drivers-y) $(net-y) 87 88ifdef CONFIG_KALLSYMS 89export kallsyms.o := .tmp_kallsyms2.o 90endif 91 | 1# 2# sparc/Makefile 3# 4# Makefile for the architecture dependent flags and dependencies on the 5# Sparc and sparc64. 6# 7# Copyright (C) 1994,1996,1998 David S. Miller (davem@caip.rutgers.edu) 8# Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) --- 75 unchanged lines hidden (view full) --- 84VMLINUX_MAIN := $(core-y) kernel/ mm/ fs/ ipc/ security/ crypto/ block/ 85VMLINUX_MAIN += $(patsubst %/, %/lib.a, $(libs-y)) $(libs-y) 86VMLINUX_MAIN += $(drivers-y) $(net-y) 87 88ifdef CONFIG_KALLSYMS 89export kallsyms.o := .tmp_kallsyms2.o 90endif 91 |
92boot-y := arch/sparc/boot 93boot-$(CONFIG_SPARC64) := arch/sparc64/boot | 92boot := arch/sparc/boot |
94 95image zImage tftpboot.img vmlinux.aout: vmlinux | 93 94image zImage tftpboot.img vmlinux.aout: vmlinux |
96 $(Q)$(MAKE) $(build)=$(boot-y) $(boot-y)/$@ | 95 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
97 98archclean: | 96 97archclean: |
99 $(Q)$(MAKE) $(clean)=$(boot-y) | 98 $(Q)$(MAKE) $(clean)=$(boot) |
100 101# This is the image used for packaging | 99 100# This is the image used for packaging |
102KBUILD_IMAGE := $(boot-y)/zImage | 101KBUILD_IMAGE := $(boot)/zImage |
103 104# Don't use tabs in echo arguments. 105ifeq ($(ARCH),sparc) 106define archhelp 107 echo '* image - kernel image ($(boot)/image)' 108 echo '* zImage - stripped kernel image ($(boot)/zImage)' 109 echo ' tftpboot.img - image prepared for tftp' 110endef 111else 112define archhelp 113 echo '* vmlinux - Standard sparc64 kernel' 114 echo ' vmlinux.aout - a.out kernel for sparc64' 115 echo ' tftpboot.img - image prepared for tftp' 116endef 117endif | 102 103# Don't use tabs in echo arguments. 104ifeq ($(ARCH),sparc) 105define archhelp 106 echo '* image - kernel image ($(boot)/image)' 107 echo '* zImage - stripped kernel image ($(boot)/zImage)' 108 echo ' tftpboot.img - image prepared for tftp' 109endef 110else 111define archhelp 112 echo '* vmlinux - Standard sparc64 kernel' 113 echo ' vmlinux.aout - a.out kernel for sparc64' 114 echo ' tftpboot.img - image prepared for tftp' 115endef 116endif |