Makefile 619 B

12345678910111213141516171819202122232425262728293031
  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. LINUX_VERSION:=2.6.25.9
  12. KERNEL_CC:=
  13. include $(INCLUDE_DIR)/target.mk
  14. define Target/Description
  15. Build bootloader images for the Sony PS3 Game Console
  16. endef
  17. # no generic patches required
  18. define Kernel/Prepare
  19. bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
  20. $(call PatchDir,$(PATCH_DIR),)
  21. endef
  22. KERNELNAME:="zImage"
  23. $(eval $(call BuildTarget))