RyanYee/叶晔 wrote:
> I want to porting directfb-1.1.1 on my davinci platform.(with --enable-multi)
> but when I configure,I was told fusion header not found,so use buildin
> fusion support,I think.
> I try to install linux-fusion-3.2.4.tar.gz.but in it's readme
> document,said porting need modify makefile self.I wandered is there
> anyone have done this before,I need some advice.
> and I found kernel need fusion kernel device support,but I didn't
> found this on my kernel.
> (I make menuconfig to search,no result...)
> I used
> /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin as my cross compile
> and
> /opt/mv_pro_4.0/montavista/pro/devkit/lsp as my kernel root directory
> 
> did I copy fusion.h to include/linux/ can solve this prolem?

Better you take the latest version from git, copy all under linux/
into your lsp kernel tree and make the following two changes:


Index: drivers/char/Makefile
===================================================================
--- drivers/char/Makefile       (revision 70)
+++ drivers/char/Makefile       (working copy)
@@ -101,6 +101,7 @@
  obj-$(CONFIG_DRM) += drm/
  obj-$(CONFIG_PCMCIA) += pcmcia/
  obj-$(CONFIG_IPMI_HANDLER) += ipmi/
+obj-$(CONFIG_FUSION_DEVICE) += fusion/

  davinci_rsz_driver-objs := davinci_resizer_hw.o davinci_resizer.o
  obj-$(CONFIG_RESIZER) += davinci_rsz_driver.o
Index: drivers/char/Kconfig
===================================================================
--- drivers/char/Kconfig        (revision 70)
+++ drivers/char/Kconfig        (working copy)
@@ -1121,5 +1121,11 @@
        default n
        help
                DaVinci PWM Driver
+
+config FUSION_DEVICE
+       tristate "Fusion Kernel Device"
+       default y
+       help
+               Fusion Kernel Device driver for Fusion IPC
  endmenu



-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to