Commit Graph

4871 Commits

Author SHA1 Message Date
Hans-Christian Egtvedt 5599a3102e make: add gettext dependency to make rule instead of TARGETS
This patch adds gettext dependency to make: rule instead of the TARGETS
variable if locale is selected. Just to conform with common syntax.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-05 08:43:04 +00:00
Hans-Christian Egtvedt 32cca54384 make: select gettext and libintl if locale is enabled
This patch makes sure gettext and libintl are selected if locale support is
enabled. Gettext must also be compiled before make so appropriate headers are
available to make.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-05 08:09:30 +00:00
Peter Korsgaard e0c4ea8276 matchbox: fix prefix
Closes #5946.
2008-11-04 22:29:02 +00:00
Peter Korsgaard 2cb9654f05 matchbox: fix mb-applet-startup-monitor compilation (TRUE/FALSE issue) 2008-11-04 22:28:58 +00:00
Peter Korsgaard ab1c8b3943 Kernel build fix related to external toolchain use
This patch prevents the user from select "linux (Same version as linux
headers)" as a choice for building the kernel when an external binary
toolchain is used, since "same version as linux headers" doesn't make
sense when an external toolchain is used.

It fixes the issue encountered by Hartley <hartleys@visionengravers.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-04 19:58:48 +00:00
Peter Korsgaard d1a7ffe8f9 Makefile: glib-genmarshal: use BR2_STAGING_DIR instead of hardcoded staging_dir 2008-11-04 12:50:38 +00:00
Peter Korsgaard a6db1e165d netsnmp: run CONFIG_UPDATE
Based on e068796d3 in Bernhards tree.
2008-11-04 11:31:58 +00:00
Peter Korsgaard 30bb1bdca4 netsnmp: bump version
Based on fa86c12d in Bernhards tree.
2008-11-04 11:26:52 +00:00
Peter Korsgaard b948fdba22 Makefile: ignore glib-genmarshal in staging_dir
HOST_GLIB is set to the path that contains the host glib tool set and is
used when building packages using glib. The buildroot top level Makefile
sets HOST_GLIB using which to find the path where glib-genmarshal is
located.

The problem is that a cross compiled version of glib-genmarshal is also
put in the build_ARCH/staging_dir/usr/bin directory when the package
libglib2 is built. This cross compiled version will typically not run on
the host system.

Fix it by ignoring staging_dir in the which output.

Closes #5934

jacmet: fixed to work correctly if it's only found in staging_dir.
2008-11-03 20:11:03 +00:00
Peter Korsgaard 030a9d39b1 External toolchain C++ cross-compiler fix
External toolchain C++ cross-compiler fix

package/Makefile.in resets CXX to "" in TARGET_CONFIGURE_OPTS if
BR2_GCC_CROSS_CXX is not set to 'y'. However, when using an external
toolchain, BR2_GCC_CROSS_CXX is not set even if the toolchain has a
C++ cross-compiler.

This patch adds a new BR2_GCC_CROSS_CXX option in the external
toolchain configuration menu, so that just like BR2_INET_RPC,
BR2_INET_IPV6 and the others, it can be set according to the external
toolchain configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03 10:37:27 +00:00
Peter Korsgaard df1df36fcb More external toolchain fixes
Fix issues with binary external toolchains

Fix two problems encountered while using an external binary toolchain
generated by crosstool-ng:

 - Don't remove the ending / in LIB_DIR, otherwise find $LIB_DIR
   -maxdepth 1 doesn't find any file in the case LIB_DIR is a symbolic
   link and not a directory.

   For some reason, find -maxdepth 1 doesn't have the same behaviour
   on directories and symbolic links. Demonstration:

   $ mkdir foobar
   $ touch foobar/t1
   $ touch foobar/t2
   $ ln -s foobar barfoo
   $ find foobar -maxdepth 1 -name 't*'
   foobar/t1
   foobar/t2
   $ find barfoo -maxdepth 1 -name 't*'
   $ find barfoo/ -maxdepth 1 -name 't*'
   barfoo/t1
   barfoo/t2

 * Make sure the libraries are writable, otherwise the strip operation
   might fail. The library files may not be writable if the toolchain
   is not writable (which may happen if one wants to prevent anyone
   from overwriting the toolchain, which is done by crosstool-ng, for
   example).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03 10:32:59 +00:00
Peter Korsgaard 51f5f62754 External toolchain support improvements
Improve external toolchain support

 * Do not put kernel-headers in the dependencies of BASE_TARGETS in
   the case where BR2_TOOLCHAIN_SOURCE is not y. The kernel headers
   are already supposed to be part of the external toolchain, so
   there's no need to download, extract and install them.

 * In the configuration system, don't display the kernel headers
   version selection list when an external toolchain is selected. This
   is implemented by moving the source
   "toolchain/kernel-headers/Config.in" inside the if
   BR2_TOOLCHAIN_SOURCE in toolchain/Config.in.2.

 * Change the description and help message of the BR2_LARGEFILE,
   BR2_INET_IPV6, BR2_INET_RPC, and BR2_SOFT_FLOAT option in
   toolchain/external-toolchain/Config.in. In the case of an external
   toolchain, the semantic of these options is not to enable large
   file support, IPV6 or RPC (since the toolchain is already compiled,
   it has been decided previously). Their semantic is to let Buildroot
   know about the characteristics of the external toolchain being
   used.

   As an improvement, we could guess these values automatically:

    - for BR2_LARGEFILE, look at the value of __UCLIBC_HAS_LFS__ in
      bits/uClibc_config.h in the libc headers directory.

    - for BR2_INET_RPC, look at the value of __UCLIBC_HAS_RPC__ in the
      same file

    - for BR2_INET_IPV6, look at the value of __UCLIBC_HAS_IPV6__ in
      the same file

    - for BR2_SOFT_FLOAT, look at the output of $(CC) -v 2>&1 | grep
      -- "--with-float=soft"

   But I'm not sure how this would be possible, since these values are
   used at configuration-time by other configuration options, not only
   at build time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03 10:18:39 +00:00
Peter Korsgaard 9373bd5d3f mkdosfs: cleanup target install handling
closes #5834.
2008-11-03 06:16:36 +00:00
Peter Korsgaard 9ca9f93339 package/: remove more 'default n' (see r22874) 2008-11-02 20:21:59 +00:00
Peter Korsgaard 93a0dd1408 sdl-image: convert to Makefile.autotools.in format 2008-11-02 19:21:21 +00:00
Peter Korsgaard cab350013e libpng: fix Makefile.autotools.in fallout
libpng used to have the 'png' Makefile alias, which some packages used
in their dependencies list.

With the move to Makefile.autotools.in this is now gone, so update the
packages to match.
2008-11-02 19:21:17 +00:00
Peter Korsgaard e9bbc07625 syslinux: fix download url 2008-11-02 19:21:12 +00:00
Peter Korsgaard a2274077d9 busybox: additional 1.12.1 patches 2008-11-02 13:06:44 +00:00
Arnar Mar Sigurðsson 0138389b0b Fixes for Qt from Markus Heidelberg 2008-11-02 02:16:53 +00:00
Arnar Mar Sigurðsson 057eca1834 Update valka target 2008-10-31 17:22:59 +00:00
Arnar Mar Sigurðsson f972f947d5 Add options to select what gfx and mouse drivers are compiled in.
Note to tslib users: You now have to select the tslib mouse driver to build it.
2008-10-31 17:17:23 +00:00
Thiago A. Corrêa 1830e8942f Fix zlib install broken by previous commit. Sorry 2008-10-31 16:37:01 +00:00
Daniel Laird 2016afd117 package/lite/lite.mk: Bounce version
Bounce version.

Signed-off-by: Thomas Petazzoni<>
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2008-10-31 14:04:31 +00:00
Thiago A. Corrêa 6d06e55a9d pciutils may depend on zlib. Based on Bernhard's git repository. 2008-10-31 12:41:02 +00:00
Thiago A. Corrêa 58bc514201 Improve pciutils based on Bernhard Reutner-Fischer's git repository (http://repo.or.cz/w/buildroot.git?a=tree;f=package/pciutils;hb=HEAD). Thanks 2008-10-31 12:14:39 +00:00
Thiago A. Corrêa 1bf91aa2a8 Make sure directories are created during install to STAGING_DIR and TARGET_DIR. Thanks to Thomas Petazzoni and Bernhard Reutner-Fischer. 2008-10-31 12:10:10 +00:00
Thiago A. Corrêa c1b4bfbd72 Fix bug #0005884 - pciutils depends on zlib 2008-10-31 04:03:27 +00:00
Thiago A. Corrêa e246dc1ef5 Minor cleanups. Use touch for stamp-files 2008-10-31 03:55:03 +00:00
Thiago A. Corrêa 73bf8098c9 fix wrong variable name for SQL. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> 2008-10-31 02:17:30 +00:00
Arnar Mar Sigurðsson b4b38739a5 Bump ntp version 2008-10-31 01:44:32 +00:00
Arnar Mar Sigurðsson 88b24a4caa 2 gcc patches from Atmel's buildroot 2008-10-31 01:41:31 +00:00
Wade Berrier d3f742f98a python: add $(STAGING_DIR)/usr/lib to PYTHON_MODULES_LIB so that
modules build correctly (particularly readline)
2008-10-30 17:21:18 +00:00
Hans-Christian Egtvedt fc23ee8dea linux: skip installing modules if modules are disabled in kernel config
This patch will check if CONFIG_MODULES is set in the kernel .config, if not
yes then it will skip installing the modules.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:56:58 +00:00
Hans-Christian Egtvedt fed8349509 linux: make touch also create the dependency file when installing modules
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:22:11 +00:00
Hans-Christian Egtvedt aabaf095a0 linux: fix typo in status printout
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:02:47 +00:00
Hans-Christian Egtvedt 4c1a34471d linux: add probing for kernel version when installing modules
This patch will ask the kernel for the specific version before doing
modules_install, that way Buildroot will know which directories to remove and
what parameters to use for depmod. Needed when compiling a kernel grabbed from
GIT or vendor specific releases.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:02:05 +00:00
Peter Korsgaard ef85a2b225 qtopia4: fix wrong compilation of qmake
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2008-10-29 20:40:51 +00:00
Daniel Laird 3544d8f71e package/libpng/libpng.mk: Change to autotools.in format
Move libpng into the new era.....

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2008-10-29 12:49:38 +00:00
Peter Korsgaard 4baf71840f bind: use strchr() instead of index() 2008-10-29 07:35:03 +00:00
Peter Korsgaard 8d6e9e3907 qtopia4: fix adjustment of qmake.conf
Extend the regexp to match spaces and also tabs to replace the qmake
variables with the proper buildroot values. Also use TARGET_AR and
TARGET_STRIP instead of using TARGET_CROSS and set a variable for
qmake.conf to shorten the command line.

Patch by Markus Heidelberg
2008-10-28 09:40:28 +00:00
Peter Korsgaard bb2d903355 qtopia4: fix use of pkg-config
When cross compiling, Qt sets PKG_CONFIG in its own configure script to
an empty string. That leads to not using pkg-config. To avoid that, use
the configure option -force-pkg-config. Also set environment variables
for pkg-config defined in TARGET_CONFIGURE_OPTS.

Patch by Markus Heidelberg.

See http://buildroot.uclibc.org/lists/buildroot/2008-October/011324.html
for more details.
2008-10-28 09:40:25 +00:00
Peter Korsgaard 3d098dd622 Fix matchbox build
Fix matchbox build

This patch fixes various failures in the Matchbox build:

 * libmatchbox and matchbox-panel were using a now legacy index()
   function, which is not part of every uClibc build nowadays
   (depending on the configuration). As this function doesn't exist
   anymore in all builds, use strchr() instead, which is the
   recommended replacement for index(). Two patches, one for
   libmatchbox, one for matchbox-panel, are added to fix this problem.

   Closes bug http://bugs.uclibc.org/view.php?id=5484

 * Do not override the CFLAGS and LDFLAGS values, they are already set
   by TARGET_CONFIGURE_OPTS. It caused build failures.

 * Mangle the library paths in the .la file of libmatchbox, after
   installation in the staging dir.

It would probably be nice to switch Matchbox over to the new
Makefile.autotools.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-27 15:15:52 +00:00
Peter Korsgaard 9042d92943 Strip gettext libraries on the target
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-27 09:45:44 +00:00
Peter Korsgaard c8f70347ec Strip libgtk2 in the target
Rely on the sane default values of Makefile.autotools.in for the
staging and target installs. The immediate benefit is that the target
install will use install-strip instead of install, leading to a quite
nice size reduction in the libraries.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-27 09:45:41 +00:00
Peter Korsgaard a574856e19 Strip pango libraries on the target
Use the predefined INSTALL_STAGING_OPT and INSTALL_TARGET_OPT
behaviour of Makefile.autotools.in, so that installation on the target
is done using install-strip.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-27 09:45:38 +00:00
Peter Korsgaard eb749df631 Fix strange problems in pango configure target
The configure target of pango had strange characters in it, preventing
compilation to work. Remove them, they just seem to be mistakes.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-27 09:45:34 +00:00
Peter Korsgaard a7f2a538c0 libglib2: remove $(DISABLE_NLS) from configure options
The configure option --disable-nls is not supported anymore in glib
since version 2.0, see file ChangeLog.pre-2-0 line 544.

Patch by Markus Heidelberg.
2008-10-26 20:02:36 +00:00
Peter Korsgaard 64a23d4654 libglib2: remove redundant configure args
Patch by Markus Heidelberg.
2008-10-26 20:02:34 +00:00
Peter Korsgaard 785d6cc6d0 package: remove redundant pkg-config variables
Also remove some redundant or predefined configure/make args in these
packages.

Patch by Markus Heidelberg.
2008-10-26 19:57:55 +00:00
Peter Korsgaard 4cb7b78a24 vim: add TARGET_CONFIGURE_OPTS
Patch by Markus Heidelberg.
2008-10-26 12:13:28 +00:00