Summary: | DAHLIN-00110: [patch] A little more quick and dirty way to build OSLEC | ||||
Reporter: | Pavel Selivanov (biohumanoid) | Labels: | |||
Date Opened: | 2009-06-02 05:55:29 | Date Closed: | 2012-01-17 08:34:01.000-0600 | ||
Priority: | Minor | Regression? | No | ||
Status: | Closed/Complete | Components: | General | ||
Versions: | 2.2.0-rc5 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | Attachments: | ( 0) enable_oslec.patch ( 1) oslec_auto.diff | |||
Description: | Current way isn't so simple... You have to manually build echo.ko ****** ADDITIONAL INFORMATION ****** To build dahdi & oslec, you have 3 ways: 1. make MODULES_EXTRA="dahdi_echocan_oslec" SUBDIRS_EXTRA=../staging/echo CONFIG_ECHO=m 2. enable oslec in drivers/dahdi/Kbuild enable echo.ko { in /staging/echo/Makefile or in kernel's .config or "make CONFIG_ECHO=m AND make install CONFIG_ECHO=m" } 3. with patch (see the attachment) This will build dahdi_echocan_oslec.ko and echo.ko as simple as possible. You should simple comment or uncomment 2 lines. | ||||
Comments: | By: Tzafrir Cohen (tzafrir) 2009-06-06 14:55:27 And this assumes you actually have drivers/staging/echo ? Hmm.. maybe make it build so if those files are present. Look at drivers/dahdi/xpp/Kbuild for ugly inspiration (the way it checks in a very ugly way if a certain patch was applied - BRISTUFF) By: Tzafrir Cohen (tzafrir) 2009-06-13 09:52:15 A simpler patch. You'd still need to: echo 'obj-m += echo.o' > drivers/staging/echo/Kbuild I'd rather not commit it just yet and wait for next version. By: Pavel Selivanov (biohumanoid) 2009-06-24 02:43:23 "next version" is published :-) > echo 'obj-m += echo.o' > drivers/staging/echo/Kbuild Thus, the user will have to: 1. copy files from kernel-source 2. path Kbuild file with obj-$(DAHDI_BUILD_ALL) += ../staging/echo/echo.o included, he will have to do only step #1... By: Andrew Latham (lathama) 2010-12-09 16:09:14.000-0600 I would be interested in testing this, are there any updates or ideas for 2.3.0 and 2.4.0 of DAHDI? |