summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-03-23 13:41:27 +0100
committerTakashi Iwai <tiwai@suse.de>2015-03-23 13:41:27 +0100
commitaca4d944959889224d1a1cca79a303849b5627c3 (patch)
tree4498d88a9609fec0c784812481656e46504e7749
parent0d8d4e8a71596a7f4cc7ef63592e68ec36d52663 (diff)
downloadalsa-driver-build-unstable-aca4d944959889224d1a1cca79a303849b5627c3.tar.gz
Add the build stub for hda core modules
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--alsa/Makefile2
-rw-r--r--alsa/hda/Makefile12
-rw-r--r--alsa/hda/hda_bus_type.c2
-rw-r--r--alsa/hda/hdac_bus.c2
-rw-r--r--alsa/hda/hdac_device.c2
-rw-r--r--alsa/hda/hdac_sysfs.c2
-rw-r--r--alsa/hda/trace.c2
7 files changed, 23 insertions, 1 deletions
diff --git a/alsa/Makefile b/alsa/Makefile
index c367c6b7e..2ff8c8f55 100644
--- a/alsa/Makefile
+++ b/alsa/Makefile
@@ -6,7 +6,7 @@
ifneq ($(KERNELRELEASE),)
# call from 2.6 kernel build system
-obj-m += acore/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ sh/ pcmcia/ aoa/ soc/ misc/ firewire/
+obj-m += acore/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ sh/ pcmcia/ aoa/ soc/ misc/ firewire/ hda/
else
diff --git a/alsa/hda/Makefile b/alsa/hda/Makefile
new file mode 100644
index 000000000..fedf5810e
--- /dev/null
+++ b/alsa/hda/Makefile
@@ -0,0 +1,12 @@
+ifndef SND_TOPDIR
+SND_TOPDIR=..
+endif
+
+include $(SND_TOPDIR)/toplevel.config
+include $(SND_TOPDIR)/Makefile.conf
+
+EXTRA_CFLAGS += -I$(SND_TOPDIR)/alsa-kernel/hda
+
+include $(SND_TOPDIR)/alsa-kernel/hda/Makefile
+
+include $(SND_TOPDIR)/Rules.make
diff --git a/alsa/hda/hda_bus_type.c b/alsa/hda/hda_bus_type.c
new file mode 100644
index 000000000..a6b83897c
--- /dev/null
+++ b/alsa/hda/hda_bus_type.c
@@ -0,0 +1,2 @@
+#include "adriver.h"
+#include "../alsa-kernel/hda/hda_bus_type.c"
diff --git a/alsa/hda/hdac_bus.c b/alsa/hda/hdac_bus.c
new file mode 100644
index 000000000..e9682173c
--- /dev/null
+++ b/alsa/hda/hdac_bus.c
@@ -0,0 +1,2 @@
+#include "adriver.h"
+#include "../alsa-kernel/hda/hdac_bus.c"
diff --git a/alsa/hda/hdac_device.c b/alsa/hda/hdac_device.c
new file mode 100644
index 000000000..ea3d0067f
--- /dev/null
+++ b/alsa/hda/hdac_device.c
@@ -0,0 +1,2 @@
+#include "adriver.h"
+#include "../alsa-kernel/hda/hdac_device.c"
diff --git a/alsa/hda/hdac_sysfs.c b/alsa/hda/hdac_sysfs.c
new file mode 100644
index 000000000..8e75d952e
--- /dev/null
+++ b/alsa/hda/hdac_sysfs.c
@@ -0,0 +1,2 @@
+#include "adriver.h"
+#include "../alsa-kernel/hda/hdac_sysfs.c"
diff --git a/alsa/hda/trace.c b/alsa/hda/trace.c
new file mode 100644
index 000000000..585c5fc8e
--- /dev/null
+++ b/alsa/hda/trace.c
@@ -0,0 +1,2 @@
+#include "adriver.h"
+#include "../alsa-kernel/hda/trace.c"