]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/ppc/boot/Makefile
[POWERPC] Uartlite: Flush RX fifo in bootwrapper
[mirror_ubuntu-bionic-kernel.git] / arch / ppc / boot / Makefile
CommitLineData
1da177e4
LT
1#
2# arch/ppc/boot/Makefile
3#
4f193362
PS
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies.
6#
1da177e4
LT
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
16CFLAGS += -fno-builtin -D__BOOTER__ -Iarch/$(ARCH)/boot/include
17HOSTCFLAGS += -Iarch/$(ARCH)/boot/include
18
19BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd
20
21bootdir-y := simple
1da177e4 22subdir-y := lib common images
0a26b136 23subdir-$(CONFIG_PPC_PREP) += of1275
1da177e4
LT
24
25# for cleaning
0a26b136 26subdir- += simple
1da177e4 27
0a26b136 28hostprogs-y := $(addprefix utils/, mkprep mkbugboot mktree)
1da177e4 29
4f193362 30PHONY += $(BOOT_TARGETS) $(bootdir-y)
1da177e4
LT
31
32$(BOOT_TARGETS): $(bootdir-y)
33
34$(bootdir-y): $(addprefix $(obj)/,$(subdir-y)) \
35 $(addprefix $(obj)/,$(hostprogs-y))
36 $(Q)$(MAKE) $(build)=$(obj)/$@ $(MAKECMDGOALS)