source: trunk/package/ps3-utils/Makefile @ 11052

Last change on this file since 11052 was 11052, checked in by ymano, 8 years ago

add ps3-dump-bootloader to package install

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=ps3-utils
12PKG_VERSION:=2.2.0
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/
17PKG_MD5SUM:=92b24e57af516d339fe05f6bf7f36848
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/ps3-utils
22  SECTION:=utils
23  CATEGORY:=Utilities
24  TITLE:=PS3 Linux Utilities
25  DEPENDS:=@TARGET_ps3
26  URL:=http://kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/
27endef
28
29define Build/Configure
30        $(call Build/Configure/Default)
31endef
32
33define Build/Compile
34        $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
35endef
36
37define Package/ps3-utils/install
38        $(INSTALL_DIR) $(1)/usr/sbin
39        $(INSTALL_DIR) $(1)/usr/bin
40        $(INSTALL_DIR) $(1)/usr/lib
41
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
46
47        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libps3-utils.so.* $(1)/usr/lib
48endef
49
50$(eval $(call BuildPackage,ps3-utils))
Note: See TracBrowser for help on using the repository browser.