[tools] firmware-utils/mkfwimage: add RouterStation support (based on a patch by...
[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 SUBTARGETS=petitboot
13
14 LINUX_VERSION:=2.6.27.8
15
16 KERNEL_CC:=
17
18 include $(INCLUDE_DIR)/target.mk
19
20 define Target/Description
21 Build bootloader images for the Sony PS3 Game Console
22 endef
23
24 ifeq ($(CONFIG_TARGET_ps3_petitboot),y)
25 # no generic patches required
26 define Kernel/Prepare
27 bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
28 $(call PatchDir,$(PATCH_DIR),)
29 endef
30 endif
31
32 KERNELNAME:="zImage"
33
34 $(eval $(call BuildTarget))