move MFD stuff to the generic kernel configs
[openwrt/svn-archive/archive.git] / target / linux / ps3 / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 ARCH:=powerpc
10 BOARD:=ps3
11 BOARDNAME:=Sony PS3 Game Console
12 MAINTAINER:=Geoff Levand <geoffrey.levand@am.sony.com>
13 SUBTARGETS=petitboot
14
15 LINUX_VERSION:=2.6.28.10
16
17 KERNEL_CC:=
18
19 include $(INCLUDE_DIR)/target.mk
20
21 define Target/Description
22 Build for the Sony PS3 Game Console
23
24 The OpenWRT build will create both a 1st stage PS3-Linux image
25 suitable for programming into the PS3 flash memory, and a 2nd
26 stage PS3-Linux image suitable for loading via bootloaders or
27 the kexec utility.
28
29 Enable the Petitboot package to build a PS3 bootloader.
30 endef
31
32 ifeq ($(CONFIG_TARGET_ps3_petitboot),y)
33 define Kernel/Patch
34 # no patches required
35 endef
36 endif
37
38 KERNELNAME:="zImage"
39
40 $(eval $(call BuildTarget))