b28dba361633203cdb73df48928979ad087472d6
[openwrt/staging/florian.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 DEVICE_TYPE=bootloader
16
17 LINUX_VERSION:=2.6.28.9
18
19 KERNEL_CC:=
20
21 include $(INCLUDE_DIR)/target.mk
22
23 define Target/Description
24 Build for the Sony PS3 Game Console
25
26 The OpenWRT build will create both a 1st stage PS3-Linux image
27 suitable for programming into the PS3 flash memory, and a 2nd
28 stage PS3-Linux image suitable for loading via bootloaders or
29 the kexec utility.
30
31 Enable the Petitboot package to build a PS3 bootloader.
32 endef
33
34 ifeq ($(CONFIG_TARGET_ps3_petitboot),y)
35 define Kernel/Patch
36 # no patches required
37 endef
38 endif
39
40 KERNELNAME:="zImage"
41
42 $(eval $(call BuildTarget))