Makefile 871 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. ARCH:=powerpc
  9. BOARD:=ps3
  10. BOARDNAME:=Sony PS3 Game Console
  11. MAINTAINER:=Geoff Levand <[email protected]>
  12. SUBTARGETS=petitboot
  13. LINUX_VERSION:=2.6.28.10
  14. KERNEL_CC:=
  15. include $(INCLUDE_DIR)/target.mk
  16. define Target/Description
  17. Build for the Sony PS3 Game Console
  18. The OpenWRT build will create both a 1st stage PS3-Linux image
  19. suitable for programming into the PS3 flash memory, and a 2nd
  20. stage PS3-Linux image suitable for loading via bootloaders or
  21. the kexec utility.
  22. Enable the Petitboot package to build a PS3 bootloader.
  23. endef
  24. ifeq ($(CONFIG_TARGET_ps3_petitboot),y)
  25. define Kernel/Patch
  26. # no patches required
  27. endef
  28. endif
  29. KERNELNAME:="zImage"
  30. $(eval $(call BuildTarget))