Commit Graph

6697 Commits

Author SHA1 Message Date
Peter Korsgaard
b08f1d00e0 hal: add missing includes
Fix build (with modern kernel headers)
- hald/linux/classdev.c needs sys/socket.h for struct sockaddr
- hald/linux/addons/addon-storage.c needs limits.h for INT_MAX

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-16 16:29:02 +01:00
Peter Korsgaard
ebe6ce4294 hal: fix build, correct glib/udev/expat paths
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-16 10:10:18 +01:00
Peter Korsgaard
c09e51037a hal: fix udev dependency
- Selecting symbols with dependencies doesn't work unless you select
  the dependencies as well
- udev-volume-id target gone, use the generic udev one instead

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-16 10:04:03 +01:00
Peter Korsgaard
035e1b5db9 udev: fix udev-volume-id staging install
$@ no longer refers to the lib under staging after the package rework.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-16 09:57:13 +01:00
Thomas Petazzoni
e07e1b45f7 dependencies: cleanup
Factorize some of the tests done by
toolchain/dependencies/dependencies.sh (check for unset environment
variables and check for required programs).

Make the output less verbose by only showing something when something
is not present. Some messages were really silly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-16 08:33:38 +01:00
Peter Korsgaard
19fb4b9d1b dbus-glib: fix host-dbus-glib build
Typo in expat dependency.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 23:44:44 +01:00
Peter Korsgaard
81c953073b dbus: fix host-dbus build
Use correct variable name for the host source directory for
DBUS_HOST_INTROSPECT, and use late binding as HOST_DBUS_DIR only gets
defined later on (by AUTOTARGETS).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 23:42:57 +01:00
Thomas Petazzoni
84b1e44e92 dependencies: remove useless test doing nothing
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 21:09:53 +01:00
Thomas Petazzoni
8dba09de9d dependencies: bail out if makeinfo isn't found
makeinfo is mandatory at least to build a toolchain. Currently,
dependencies.sh doesn't fail if makeinfo is not present and only
displays a message that can easily be lost. The user will then
encounter the issue later, when it is more difficult to understand
what's happening.

So, this patch simply does for makeinfo what the script does for the
other dependencies: bail out if they aren't available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 21:03:50 +01:00
Thomas Petazzoni
a4eee8c334 documentation: slightly improve CSS
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:41 +01:00
Thomas Petazzoni
16c1549fd2 documentation: update about new package infrastructures
Document the new generic package infrastructure, and how target/host
packages are handled, both for the generic package infrastructure and
the autotools package infrastructure.

This documentation replaces the documentation that used to be present
at the top of Makefile.autotools.in. Both tutorial and reference
documentation are provided.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:41 +01:00
Thomas Petazzoni
eebdec351a udev: convert to generic package infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:41 +01:00
Thomas Petazzoni
bc71ad7d5a i2c-tools: convert to the generic package infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:40 +01:00
Thomas Petazzoni
b9c569347d xutil_makedepend: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:40 +01:00
Thomas Petazzoni
e8929df017 xproto_xproto: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:40 +01:00
Thomas Petazzoni
46ed37494b pixman: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:39 +01:00
Thomas Petazzoni
adc8542d95 m4: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:39 +01:00
Thomas Petazzoni
e99f7cacef mtd-utils: fix dependency on host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:39 +01:00
Thomas Petazzoni
ab92ca91ac lzo: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:38 +01:00
Thomas Petazzoni
f3e2f5c04e libusb: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:38 +01:00
Thomas Petazzoni
3fb725c5b1 libgtk2: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:38 +01:00
Thomas Petazzoni
c009e4e3d7 gob2: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:38 +01:00
Thomas Petazzoni
57fbbfa775 expat: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:37 +01:00
Thomas Petazzoni
258440a260 dbus-glib: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:37 +01:00
Thomas Petazzoni
c01c5010ac shared-mime-info: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:37 +01:00
Thomas Petazzoni
a02cf75e19 libxml2: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:36 +01:00
Thomas Petazzoni
fc1163d22d freetype: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:36 +01:00
Thomas Petazzoni
1ef81c0c9c fontconfig: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:36 +01:00
Thomas Petazzoni
d6e53ad0a9 directfb: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:35 +01:00
Thomas Petazzoni
368519f649 dbus: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:35 +01:00
Thomas Petazzoni
e6882586be atk: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:35 +01:00
Thomas Petazzoni
1a929ec241 pango: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:34 +01:00
Thomas Petazzoni
54ac0a4fb1 libtool: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:34 +01:00
Thomas Petazzoni
e89801a186 libglib2: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:34 +01:00
Thomas Petazzoni
5d772cd069 cairo: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:33 +01:00
Thomas Petazzoni
adaf0c909c automake: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:33 +01:00
Thomas Petazzoni
cb4ab36bcf autoconf: add patch to make it work under dash
autoconf >= 2.64 was broken when /bin/sh is symlinked to dash. This
has been fixed post-2.65 by the commit at
http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=7f75858f577f11a844781764f30cd42cfe8a5669.

Compared to the original patch, the patch included in Buildroot
manually does the change to the ./configure script itself. Otherwise,
the compilation of host-autoconf would require host-autoconf itself.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:33 +01:00
Thomas Petazzoni
169403079a autoconf: bump version to 2.65
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:32 +01:00
Thomas Petazzoni
67cd864711 autoconf: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:32 +01:00
Thomas Petazzoni
35e635b7dd Add package statistics script
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:32 +01:00
Thomas Petazzoni
6dc336b293 host-pkgconfig is now host-pkg-config
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:31 +01:00
Thomas Petazzoni
d5d5d2942f pkg-config: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:31 +01:00
Thomas Petazzoni
69fa47be3f Add $(HOST_DIR)/usr/sbin to the PATH
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:31 +01:00
Thomas Petazzoni
9e1d5ccd4d zlib: rework on top of the generic infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:30 +01:00
Thomas Petazzoni
f32a8b02a7 olsr: rework on top of the generic infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:30 +01:00
Thomas Petazzoni
d8b55b9909 Rework autotools infrastructure on top of the generic infrastructure
Now that the previous commit implemented a generic package
infrastructure, we make the autotools infrastructure inherit from the
generic one so that the code is not duplicated.

The new AUTOTARGETS macro works by defining what should be done at the
configure, build and install steps of a package and then calls the
GENTARGETS macro of the generic package infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 18:09:31 +01:00
Thomas Petazzoni
497abb8211 Define TARGET_MAKE_ENV similarly to HOST_MAKE_ENV
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 18:09:30 +01:00
Thomas Petazzoni
e11fe847b2 Add generic package infrastructure
This new infrastructure allows to write simpler .mk files for packages
not using the autotools as their build system, by factorizing many
common steps (download, extract, patching), and will more easily allow
Buildroot-wide changes in how the packages are handled.

The main macro is called GENTARGETS and works similarly to the
AUTOTARGETS macro that already exists for autotools-based
packages. However, the set of variables to be defined before calling
the macro is different. Refer to the documentation for details.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 18:09:23 +01:00
Peter Korsgaard
f3f1a94313 Merge branch 'avr32-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-12-15 12:39:24 +01:00
Thomas Petazzoni
962ea5b29b gcc: do not pass --with-pkgversion to gcc < 4.3
Commit 09c181f289 added new options
passed to gcc configure to set --with-pkgversion and --with-bugurl, to
gcc >= gcc 4.3. To check this, it was checking that the GCC_VERSION
string does not contain 4.2.

Unfortunately, the test is bogus. It does a findstring on x4.2. (with
a final dot) but compares the result with x4.2 (without the final
dot).

The result is that even with 4.2 versions, the test was true, leading
--with-pkgversion and --with-bugurl being passed to gcc's configure
script.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 12:03:05 +01:00