2007-10-23 06:23:41 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
ARCH:=powerpc
|
|
|
|
BOARD:=ps3
|
2008-04-18 21:59:31 +00:00
|
|
|
BOARDNAME:=Sony PS3 Game Console
|
2009-03-12 19:43:37 +00:00
|
|
|
MAINTAINER:=Geoff Levand <geoffrey.levand@am.sony.com>
|
2008-12-18 11:46:28 +00:00
|
|
|
SUBTARGETS=petitboot
|
2008-04-18 21:59:31 +00:00
|
|
|
|
2009-03-17 16:02:52 +00:00
|
|
|
DEVICE_TYPE=bootloader
|
|
|
|
|
2009-03-24 15:06:53 +00:00
|
|
|
LINUX_VERSION:=2.6.28.9
|
2008-04-18 21:59:31 +00:00
|
|
|
|
2007-10-23 06:23:41 +00:00
|
|
|
KERNEL_CC:=
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
|
|
|
|
define Target/Description
|
2009-03-12 19:43:37 +00:00
|
|
|
Build for the Sony PS3 Game Console
|
|
|
|
|
|
|
|
The OpenWRT build will create both a 1st stage PS3-Linux image
|
|
|
|
suitable for programming into the PS3 flash memory, and a 2nd
|
|
|
|
stage PS3-Linux image suitable for loading via bootloaders or
|
|
|
|
the kexec utility.
|
|
|
|
|
|
|
|
Enable the Petitboot package to build a PS3 bootloader.
|
2007-10-23 06:23:41 +00:00
|
|
|
endef
|
|
|
|
|
2008-12-18 12:04:40 +00:00
|
|
|
ifeq ($(CONFIG_TARGET_ps3_petitboot),y)
|
2009-03-12 19:43:37 +00:00
|
|
|
define Kernel/Patch
|
2008-12-18 13:36:21 +00:00
|
|
|
# no patches required
|
2007-10-23 06:23:41 +00:00
|
|
|
endef
|
2008-12-18 12:04:40 +00:00
|
|
|
endif
|
2007-10-23 06:23:41 +00:00
|
|
|
|
|
|
|
KERNELNAME:="zImage"
|
2008-04-18 21:59:31 +00:00
|
|
|
|
2007-10-23 06:23:41 +00:00
|
|
|
$(eval $(call BuildTarget))
|