Makefile 894 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. DEVICE_TYPE=bootloader
  14. LINUX_VERSION:=2.6.28.8
  15. KERNEL_CC:=
  16. include $(INCLUDE_DIR)/target.mk
  17. define Target/Description
  18. Build for the Sony PS3 Game Console
  19. The OpenWRT build will create both a 1st stage PS3-Linux image
  20. suitable for programming into the PS3 flash memory, and a 2nd
  21. stage PS3-Linux image suitable for loading via bootloaders or
  22. the kexec utility.
  23. Enable the Petitboot package to build a PS3 bootloader.
  24. endef
  25. ifeq ($(CONFIG_TARGET_ps3_petitboot),y)
  26. define Kernel/Patch
  27. # no patches required
  28. endef
  29. endif
  30. KERNELNAME:="zImage"
  31. $(eval $(call BuildTarget))