Add ps3 target
[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 PlayStation 3
12 LINUX_VERSION:=2.6.23
13 KERNEL_CC:=
14
15 include $(INCLUDE_DIR)/target.mk
16
17 define Target/Description
18 Build bootloader images for the Playstation 3
19 endef
20
21 # no patches required
22 define Kernel/Prepare/ps3
23 bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
24 endef
25
26 define Kernel/Prepare
27 $(call Kernel/Prepare/ps3)
28 endef
29
30 # include the profiles
31 #-include profiles/*.mk
32
33 KERNELNAME:="zImage"
34 $(eval $(call BuildTarget))