aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ps3/modules.mk
blob: 258652459f49380cb47146a690d8df763c0c7f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# 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:=@TARGET_ps3
  KCONFIG:= \
	CONFIG_GELIC_NET \
	CONFIG_GELIC_WIRELESS=y
  FILES:=$(LINUX_DIR)/drivers/net/ps3_gelic.$(LINUX_KMOD_SUFFIX)
  AUTOLOAD:=$(call AutoLoad,50,ps3_gelic)
endef

define KernelPackage/ps3lan/description
  Kernel module for PS3 Networking. Includes Gb Ethernet and WLAN
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))