Makefile 675 B

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