2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.kernel.org
/pub
/linux
/kernel
/people
/geoff
/cell
/ps3-utils
/
17 PKG_MD5SUM
:=92b24e57af516d339fe05f6bf7f36848
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/ps3-utils
24 TITLE
:=PS3 Linux Utilities
26 URL
:=http
://kernel.org
/pub
/linux
/kernel
/people
/geoff
/cell
/ps3-utils
/
29 define Build
/Configure
30 $(call Build
/Configure
/Default
)
34 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
="$(PKG_INSTALL_DIR)" all install
37 define Package
/ps3-utils
/install
38 $(INSTALL_DIR
) $(1)/usr
/sbin
39 $(INSTALL_DIR
) $(1)/usr
/bin
40 $(INSTALL_DIR
) $(1)/usr
/lib
42 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/ps3-boot-game-os
$(1)/usr
/sbin
43 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/ps3-dump-bootloader
$(1)/usr
/sbin
44 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/ps3-flash-util
$(1)/usr
/sbin
45 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/ps3-video-mode
$(1)/usr
/bin
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libps3-utils.so.
* $(1)/usr
/lib
50 $(eval
$(call BuildPackage
,ps3-utils
))