2007-10-23 09:23:41 +03: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-19 00:59:31 +03:00
|
|
|
BOARDNAME:=Sony PS3 Game Console
|
2008-12-18 13:46:28 +02:00
|
|
|
SUBTARGETS=petitboot
|
2008-04-19 00:59:31 +03:00
|
|
|
|
2009-02-20 16:12:11 +02:00
|
|
|
LINUX_VERSION:=2.6.28.2
|
2008-04-19 00:59:31 +03:00
|
|
|
|
2007-10-23 09:23:41 +03:00
|
|
|
KERNEL_CC:=
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
|
|
|
|
define Target/Description
|
2008-04-19 00:59:31 +03:00
|
|
|
Build bootloader images for the Sony PS3 Game Console
|
2007-10-23 09:23:41 +03:00
|
|
|
endef
|
|
|
|
|
2008-12-18 14:04:40 +02:00
|
|
|
ifeq ($(CONFIG_TARGET_ps3_petitboot),y)
|
2008-12-18 15:36:21 +02:00
|
|
|
# no patches required
|
|
|
|
# provide facility for specific patches
|
|
|
|
PATCH_DIR=patches-petitboot
|
2007-10-23 09:23:41 +03:00
|
|
|
define Kernel/Prepare
|
2008-05-28 21:57:18 +03:00
|
|
|
bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
|
|
|
|
$(call PatchDir,$(PATCH_DIR),)
|
2007-10-23 09:23:41 +03:00
|
|
|
endef
|
2008-12-18 14:04:40 +02:00
|
|
|
endif
|
2007-10-23 09:23:41 +03:00
|
|
|
|
|
|
|
KERNELNAME:="zImage"
|
2008-04-19 00:59:31 +03:00
|
|
|
|
2007-10-23 09:23:41 +03:00
|
|
|
$(eval $(call BuildTarget))
|