]> nv-tegra.nvidia Code Review - linux-2.6.git/blob - arch/ppc/boot/Makefile
Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6
[linux-2.6.git] / arch / ppc / boot / Makefile
1 #
2 # arch/ppc/boot/Makefile
3 #
4 # This file is included by the global makefile so that you can add your own
5 # architecture-specific flags and dependencies.
6 #
7 # This file is subject to the terms and conditions of the GNU General Public
8 # License.  See the file "COPYING" in the main directory of this archive
9 # for more details.
10 #
11 # Copyright (C) 1994 by Linus Torvalds
12 # Adapted for PowerPC by Gary Thomas
13 # modified by Cort (cort@cs.nmt.edu)
14 #
15
16 HOSTCFLAGS      += -Iarch/$(ARCH)/boot/include
17
18 BOOT_TARGETS    = zImage zImage.initrd znetboot znetboot.initrd
19
20 bootdir-y                       := simple
21 subdir-y                        := lib common images
22 subdir-$(CONFIG_PPC_PREP)       += of1275
23
24 # for cleaning
25 subdir-                         += simple
26
27 hostprogs-y := $(addprefix utils/, mkprep mkbugboot mktree)
28
29 PHONY += $(BOOT_TARGETS) $(bootdir-y)
30
31 $(BOOT_TARGETS): $(bootdir-y)
32
33 $(bootdir-y): $(addprefix $(obj)/,$(subdir-y)) \
34                 $(addprefix $(obj)/,$(hostprogs-y))
35         $(Q)$(MAKE) $(build)=$(obj)/$@ $(MAKECMDGOALS)