[oe-commits] Sebastian Spaeth : shr-image.inc: add ugly hack to enable sound module loading

git version control git at git.openembedded.org
Fri Nov 13 13:51:45 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 068203595b647154379cf99aee47c63edf62e9df
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=068203595b647154379cf99aee47c63edf62e9df

Author: Sebastian Spaeth <Sebastian at SSpaeth.de>
Date:   Fri Nov 13 14:49:13 2009 +0100

shr-image.inc: add ugly hack to enable sound module loading

* This is now done for all SHR images, we need to remove for gta01
* This should really be done through module_autoload. Investigate why that does not work

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>

---

 recipes/images/shr-image.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/images/shr-image.inc b/recipes/images/shr-image.inc
index 613eb81..f1b9e3e 100644
--- a/recipes/images/shr-image.inc
+++ b/recipes/images/shr-image.inc
@@ -108,6 +108,9 @@ shr_rootfs_postprocess() {
     [ -d ./etc/modutils ] || mkdir ./etc/modutils
     echo "g_ether" > ./etc/modutils/g_ether
     echo "ppp_generic" > ./etc/modutils/ppp_generic
+    # FIXME: Only do this for GTA02
+    # FIXME: investigate why module_autoload in machine config doesn't work
+    echo "snd-soc-neo1973-gta02-wm8753" > ./etc/modutils/snd-soc-neo
 
     #set up some variables to improve default settings
     echo "if [ \"\$DISPLAY\" = \"\" ]" >> ./etc/profile





More information about the Openembedded-commits mailing list