Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74420 - dev-embedded/gpio conversion to linux-mod
Summary: dev-embedded/gpio conversion to linux-mod
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 74396
  Show dependency tree
 
Reported: 2004-12-14 12:33 UTC by Daniel Drake (RETIRED)
Modified: 2005-07-16 08:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gpio-1.3.2.ebuild (gpio-1.3.2.ebuild,973 bytes, text/plain)
2004-12-14 12:33 UTC, Daniel Drake (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Drake (RETIRED) gentoo-dev 2004-12-14 12:33:34 UTC
Please test this and commit it if its ok. I run 2.6 and it doesn't look like this driver compiles there.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-12-14 12:33:52 UTC
Created attachment 45988 [details]
gpio-1.3.2.ebuild
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-12-14 12:54:51 UTC
didn't work:

common_writelcd.c: At top level:
common_writelcd.c:166: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
common_writelcd.c:166: warning: data definition has no type or storage class
ld -r 4801driver.o  4501driver.o common_writelcd.o  -o writelcd.o
++ echo 'writelcd(kernel/drivers:)'
++ sed -e 's:.*(\(.*\)):\1:'
+ module_temp=kernel/drivers:
+ modulename=writelcd
+ moduledir=kernel/drivers
+ moduledir=kernel/drivers
+ sourcedir=
+ sourcedir=/var/tmp/portage/gpio-1.3.2/work/gpio-1.3.2
+ einfo 'Preparing writelcd module'
+ '[' no '!=' yes ']'
+ echo -e ' * Preparing writelcd module'
 * Preparing writelcd module
+ return 0
+ cd /var/tmp/portage/gpio-1.3.2/work/gpio-1.3.2
+ emake KERNELDIR=/usr/src/linux all
make: Nothing to be done for `all'.
+ ARCH=x86


It created .o files but no .ko files and hence only installed empty directories. Ned is this 2.4 kernel only? Gotta run.
Comment 3 solar (RETIRED) gentoo-dev 2004-12-14 13:10:53 UTC
Yep 2.4.x only.
Comment 4 solar (RETIRED) gentoo-dev 2005-01-07 22:15:07 UTC
ok so linux-mod is no good for this 2.4.x based ebuild.
linux-mod has a hard dep on module-init-tools which gpio has never been tested with as far as I know. Only virtual/modutils busybox is known to work.
Comment 5 John Mylchreest (RETIRED) gentoo-dev 2005-07-16 08:25:06 UTC
just to update and reopen.
Any hard deps on module-init-tools has gone.
it should handle .o files just fine although of course, not if the target kernel
is 2.6
This needs to fail if its trying to install into a 2.6 based kernel.
Comment 6 John Mylchreest (RETIRED) gentoo-dev 2005-07-16 08:42:07 UTC
shoudla checked the ebuild first :)