Holger Freyther [Tue, 20 Feb 2007 13:29:04 +0000 (13:29 +0000)]
classes/insane.bbclass: No use to make it bb.fatal if we return False...
The idea of insane.bbclass is to report all issues found at
once. This is why the checks return True if no error was found
and False if at least one was found.
At the end of all check runs we will see if at least one check
failed and call bb.fatal
Koen Kooi [Tue, 20 Feb 2007 11:36:51 +0000 (11:36 +0000)]
insane.bbclass: we really don't want packages with the wrong architecture, so do bb.fatal instead if bb.error
symptom:
ERROR: Architecture did not match (20 to 3) on /work/ppc603e-angstrom-linux/udev-092-r15/install/udev/sbin/scsi_id
This means OE detected type 3 (i386) while it expected type 20 (powerpc), most likely caused by some fool hardcoding 'gcc' as compiler
Stelios Koroneos [Tue, 20 Feb 2007 09:39:55 +0000 (09:39 +0000)]
packages/apache2/apache2-2.2.3: Fix wrong assuption about ptr length during configure
To be able to compile you need to add ac_cv_sizeof_long_p in the site file of your arch (if not allready there)
Koen Kooi [Tue, 20 Feb 2007 08:02:34 +0000 (08:02 +0000)]
package_ipk, rootfs_ipk: Add patch from Marcin and Koen to sort ipkgs into per architecture subdirs of deploy/ipk
see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-February/001462.html
Holger Freyther [Mon, 19 Feb 2007 16:57:13 +0000 (16:57 +0000)]
classes/insane.bbclass: check stages .pc and .la for sanity
native ones:
.la files should have installed=yes (at least I believe
this). And somehow some believe this as well, some don't though...
some like fakeroot love to install two .la files...
non-native:
.la should have installed=no
both:
should not point to tmp/work. libgettext and libltdl(libtool)
fails this...
happy fixing and arguing
Holger Freyther [Mon, 19 Feb 2007 14:56:20 +0000 (14:56 +0000)]
classes/insane.bbclass: Make the .so-check check for symlinks (merge poky r1258,r1195)
The .so check now looks for symlinks ending with .so. These are a typical
trait of -dev packages and kills a lot of false positives.
This was authored by ross and was taken from the poky svn repository.
Koen Kooi [Mon, 19 Feb 2007 10:28:48 +0000 (10:28 +0000)]
insane.bbclass: fixes
* change "," to "%" so python doesn't die if an error occurs
* spell architecture correctly
* add arm/eabi tupple that works for stripped binaries, but fails for -dbg binaries (abiversion 0 vs 97)
insane.bbclass: added dict entries for mipsel, i386, x86_64
x86_64 can not be detected properly with this code - needed change:
- ELFFile.my_assert(self.data[ELFFile.EI_CLASS], chr(ELFFile.ELFCLASS32)) # only 32 bits
+ ELFFile.my_assert(self.data[ELFFile.EI_CLASS], chr(ELFFile.ELFCLASS64))
Holger Freyther [Sun, 18 Feb 2007 23:12:19 +0000 (23:12 +0000)]
classes/insane.bbclass: Add a small elf reader and check ABI,ARCH and Endian
Add a small ELF parser and read OSABI, ABIVERSION, ENDIAN and MACHINE. This
code compares TARGET_OS and TARGET_ARCH to a list of known versions. Currently
we have values for linux and linux-uclibc for arm, armeb and powerpc. mips,
i386, amd64, ia64 are missing. ABI wise ARM EABI is missing as well, but koen
is likely to enter the values into the documented dict
Paul Sokolovsky [Sun, 18 Feb 2007 18:50:03 +0000 (18:50 +0000)]
task-angstrom-x11: Remove dependency on detect-stylus.
* detect-stylus is no longer used in OE, which adopted convention of
having the touchscreen device at /dev/input/touchscreen0 (for all 2.6
devices being created by udev rule).
Paul Sokolovsky [Sun, 18 Feb 2007 18:38:21 +0000 (18:38 +0000)]
task-base: Make "wifi" belong to COMBINED_FEATURES.
* This is consistent with how "bluetooth" is handled already, and, assuming
that distro supports wifi, essentially allows machine to decide if wifi packages
go into rootfs or would be installed from feed. This is helpful for machines
which don't have wifi and devoid of any means of external card extension, or
for machines with very small ROM (like, for example, h3600 with its 16Mb,
in which wifi packages simply don't fit, so h3600 users with CF sleeve and
wifi card would need to install support manually, after deleting packages they
can sacrifice for this).
* Approved by Marcin Juszkiewicz
Paul Sokolovsky [Sun, 18 Feb 2007 17:48:27 +0000 (17:48 +0000)]
angstrom-2007.1.conf: Ship just en-gb locale by default.
* Ship just basic locale by default. Locales are big (~1Mb uncompr.), so
shipping some adhoc subset will be still useless and size burden for
users of all other languages/countries. Instead, worth to make it easy
to install additional languages: installer/wizard + metapackages which
will RRECOMMEND as much as possible content for a given language
(locales, UI transalations, help, etc. - useless for pros, but really
helpful for common users).
* Approved by Koen Kooi
Holger Freyther [Sun, 18 Feb 2007 17:19:11 +0000 (17:19 +0000)]
classes/insane.bbclass: Allow errors to be ignored
Add a method to implement koen's skipping of
errors of type .so in non dev package. This
will turn into a list of known and acked issues which
we decided to ignore. I do not yet know how to maintain
such a list properly though
Split the .so in non-dev package and the .debug in non-dbg
package into two different packages
Holger Freyther [Sun, 18 Feb 2007 15:54:12 +0000 (15:54 +0000)]
classes/insane.bbclass: Print the actual error, write a log file
-Print all errors of the built packages and if we have printed
any errors fail
-Log the errors to a log file, so we can see them afterwards
-Print the path (- the TMPDIR) of the package in question
Koen Kooi [Sun, 18 Feb 2007 11:46:19 +0000 (11:46 +0000)]
tslib: merge patch from openmoko:
This patch adds support for "EVIOCGRAB" on the input device, which
tells the kernel _not_ to deliver events of the touchscreen to
/dev/input/mice.
This is probably what most people want, since unprocessed raw touchscreen
events should not be converted to emulated PS/2 mouse movements. Signed-off-by: Harald Welte <laforge@openmoko.org>
Paul Sokolovsky [Sun, 18 Feb 2007 09:31:07 +0000 (09:31 +0000)]
linux-handhelds-2.6 2.6.19-hh12: Add new release.
* Changes since -hh11 include:
1. rx1950 port added.
2. cpugreq fixes to support PCMCIA working over freq changes.
3. cpufreq support for htcmagician.
4. ads7846_adc_ssp fixes.
5. acx driver ESSID handling off-by-one fix.
6. ASoC upgraded to 0.13.4.
Paul Sokolovsky [Sun, 18 Feb 2007 09:09:12 +0000 (09:09 +0000)]
linux-handhelds-2.6 2.6.19-hh11: Add new release.
* Changes since -hh10 include:
1. aximx5 port revived - boots with LCD working. UDC known not to work.
2. aximx50 buttons driver.
3. Macine-independ touchscreen driver for ADS7846/TSC2046, first version so
far, used for h4000 and works for hx4700 too. Still needs tweaking to
support other devices well.
4. h4000: h4300_kbd driver revamped.
5. h5400: revamping started, OHCI support fixed.
6. htcalpine phone and soc drivers.
7. rx3000: Port clean up, drivers split to separate modules. Serial port driver
added.
8. drivers/serial/pxa.c: Dynamic serial hook ports are supported (hooks can
be installed/removed after serial driver is loaded).
Holger Freyther [Fri, 16 Feb 2007 15:45:38 +0000 (15:45 +0000)]
classes/insane.bbclass: Grep through config.log to check for CROSS Compile errors
-Inspired by doku's work on mpd's buildsystem grep through
the config.log and find broken autotools tests
-Make errors fatal so we will notice these things more quickly.
Holger Freyther [Fri, 16 Feb 2007 14:10:25 +0000 (14:10 +0000)]
Add the DNARD/Shark machine configuration and kernel
The DNARD/Shark was the Network Computer constructed
by DEC with spare StrongARM processors. Here we use them
as music basestations.