From: Tilman G. <til...@ho...> - 2010-12-29 09:42:48
|
Dear Michael, Dear Sven sorry for not realizing that the language spoken in the mailing list is English. 1) I am aware of the instructions to integrate a new driver. I made the changes in drv.c, Makefile.am, and driver.m4, and ran the configure script: driver.m4: ======== if test "$EFN" = "yes"; then TEXT="yes" DRIVERS="$DRIVERS drv_EFN.o" AC_DEFINE(WITH_EFN,1,[EFN + EUG driver]) fi Makfile.am: ======== ... EXTRA_lcd4linux_SOURCES= \ ... drv_EFN.c ... drv.c: ===== ... extern DRIVER drv_EFN; .... DRIVER *Driver[] = { ... #ifdef WITH_EFN &drv_EFN, #endif The isssue hower is a) config.h : /* EFN + EUG driver */ /* #undef WITH_EFN */ This should be #define WITH_EFN 1 b) Makefile: drv_EFN.o is not added in the list of objects to be linked to lcd4linux. 2) By now, I applied a patch to make rdtscl compile, and applied the changes to config.h and Makefile manually. That compiles and links. This is just not how the build chain should work .. :-) (For the patch to make rdtscl in udelay.c known see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436332 -- your are probably aware of it). Thanks Tilman |