second part of target rootfs relocation
[openwrt.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 patches required
26 # provide facility for specific patches
27 PATCH_DIR=patches-petitboot
28 define Kernel/Prepare
29 bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
30 $(call PatchDir,$(PATCH_DIR),)
31 endef
32 endif
33
34 KERNELNAME:="zImage"
35
36 $(eval $(call BuildTarget))
This page took 0.049355 seconds and 5 git commands to generate.