Add psfreedom
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22929 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
eee1cb24fe
commit
b64627a215
47
utils/psfreedom/Makefile
Normal file
47
utils/psfreedom/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
#
|
||||
# Copyright (C) 2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=psfreedom
|
||||
PKG_REV:=83445097c1c7687b5e6ccadca90126ca7a9a38b9
|
||||
PKG_VERSION:=$(PKG_REV)
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://github.com/kakaroto/PSFreedom.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define KernelPackage/psfreedom
|
||||
SUBMENU:=USB Support
|
||||
DEPENDS:=@TARGET_omap24xx +usb-tahvo +musb-hdrc
|
||||
TITLE:=PSFreedom PS3 USB exploit
|
||||
FILES:=$(PKG_BUILD_DIR)/psfreedom.ko
|
||||
AUTOLOAD:=$(call AutoLoad,99,psfreedom)
|
||||
endef
|
||||
|
||||
define KernelPackage/psfreedom/description
|
||||
Playstation 3 USB exploit. Runs on Nokia n810.
|
||||
endef
|
||||
|
||||
include $(INCLUDE_DIR)/kernel-defaults.mk
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) $(KERNEL_MAKEOPTS) \
|
||||
SUBDIRS="$(PKG_BUILD_DIR)" \
|
||||
KDIR="$(LINUX_DIR)" \
|
||||
PWD="$(PKG_BUILD_DIR)" \
|
||||
EXTRA_CFLAGS="-DENABLE_MUSB_CONTROLLER" \
|
||||
modules
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,psfreedom))
|
Loading…
x
Reference in New Issue
Block a user