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
|
2008-12-18 11:46:28 +00:00
|
|
|
SUBTARGETS=petitboot
|
2008-04-18 21:59:31 +00:00
|
|
|
|
2009-02-20 14:12:11 +00:00
|
|
|
LINUX_VERSION:=2.6.28.2
|
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
|
2008-04-18 21:59:31 +00:00
|
|
|
Build bootloader images for the Sony PS3 Game Console
|
2007-10-23 06:23:41 +00:00
|
|
|
endef
|
|
|
|
|
2008-12-18 12:04:40 +00:00
|
|
|
ifeq ($(CONFIG_TARGET_ps3_petitboot),y)
|
2008-12-18 13:36:21 +00:00
|
|
|
# no patches required
|
|
|
|
# provide facility for specific patches
|
|
|
|
PATCH_DIR=patches-petitboot
|
2007-10-23 06:23:41 +00:00
|
|
|
define Kernel/Prepare
|
2008-05-28 18:57:18 +00:00
|
|
|
bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
|
|
|
|
$(call PatchDir,$(PATCH_DIR),)
|
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))
|