summaryrefslogtreecommitdiff
path: root/target/linux/ps3
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-24 13:34:51 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-24 13:34:51 +0000
commit484051d05518b1f7fb53b535e84302849080272d (patch)
treed4fcbe83d1ea442b9b0a2470e95fc222536a114c /target/linux/ps3
parent9ae19dcf8799314a89c7eabd57304c046f50d513 (diff)
downloadmtk-20170518-484051d05518b1f7fb53b535e84302849080272d.zip
mtk-20170518-484051d05518b1f7fb53b535e84302849080272d.tar.gz
mtk-20170518-484051d05518b1f7fb53b535e84302849080272d.tar.bz2
package/kernel: move target specific modules to their own target files
SVN-Revision: 21132
Diffstat (limited to 'target/linux/ps3')
-rw-r--r--target/linux/ps3/modules.mk44
1 files changed, 43 insertions, 1 deletions
diff --git a/target/linux/ps3/modules.mk b/target/linux/ps3/modules.mk
index f38ccc4..2586524 100644
--- a/target/linux/ps3/modules.mk
+++ b/target/linux/ps3/modules.mk
@@ -1,7 +1,14 @@
+#
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
define KernelPackage/ps3lan
SUBMENU:=Network Devices
TITLE:=PS3-Lan support
- DEPENDS:=@LINUX_2_6 @TARGET_ps3
+ DEPENDS:=@TARGET_ps3
KCONFIG:= \
CONFIG_GELIC_NET \
CONFIG_GELIC_WIRELESS=y
@@ -14,3 +21,38 @@ define KernelPackage/ps3lan/description
endef
$(eval $(call KernelPackage,ps3lan))
+
+
+define KernelPackage/ps3vram
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=PS3 Video RAM Storage Driver
+ DEPENDS:=@TARGET_ps3
+ KCONFIG:=CONFIG_PS3_VRAM
+ FILES:=$(LINUX_DIR)/drivers/block/ps3vram.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,01,ps3vram)
+endef
+
+define KernelPackage/ps3vram/description
+ Kernel support for PS3 Video RAM Storage
+endef
+
+$(eval $(call KernelPackage,ps3vram))
+
+
+define KernelPackage/sound-ps3
+ SUBMENU:=$(SOUND_MENU)
+ TITLE:=PS3 Audio
+ DEPENDS:=@TARGET_ps3
+ KCONFIG:=CONFIG_SND_PS3 \
+ CONFIG_SND_PPC=y \
+ CONFIG_SND_PS3_DEFAULT_START_DELAY=2000
+ FILES:=$(LINUX_DIR)/sound/ppc/snd_ps3.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,35, snd_ps3)
+ $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-ps3/description
+ support for the integrated PS3 audio device
+endef
+
+$(eval $(call KernelPackage,sound-ps3))