Commit Graph

54 Commits

Author SHA1 Message Date
Thomas Petazzoni
ef785f61ad Do not let packages remove man pages, info pages and documentation
The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man,
$(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info,
$(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done
globally in the main Makefile. Therefore, there's no need to handle
that on a per-package basis.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 06:01:08 +02:00
Peter Korsgaard
9e76714747 package: get rid of redundant malloc related configure presets
Those are already in TARGET_CONFIGURE_ARGS. Also get rid of unused
BR2_AC_CV_FUNC_MALLOC_0_NONNULL variable.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-06 19:58:45 +01:00
Peter Korsgaard
c14fb7c1dd package/coreutils: ensure configure isn't considered out-of-date
We were patching m4/rename.m4 to workaround an upstream issue, but this
triggers a auto* rebuild and a configure rerun when we build coreutils
using whatever auto* versions the user has installed.

Doing a manual autoreconf run after patching is unfortunately not an
option as the coreutils configure.ac isn't compatible with the autotools
version we have in BR.

Instead, simply cheat by patching configure as well and setting the
timestamp of m4/rename.m4 sufficiently far back to ensure make doesn't
consider ./configure out of date.

Long term we should convert coreutils to Makefile.autotools.in format,
but this is good enought for 2009.11.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-01 10:22:12 +01:00
Peter Korsgaard
3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Peter Korsgaard
dfca1b2e0e coreutils: fix rename-with-trailing-slash bug override variable name
The variable controlling if coreutils thinks the system has the
rename-with-trailing-slash bug is called
gl_cv_func_rename_trailing_slash_bug and not vb_cv_..

Forcing this off works around a bug in coreutils configure, which
otherwise tries to compile Windows-only workaround code.

Reported-by: Stephen Rodgers <hwstar@rodgers.sdcoxmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 09:25:55 +02:00
Will Newton
422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00
Thomas Petazzoni
0ef93af1e4 coreutils: bump version
Coreutils 6.9 was broken with glibc >= 2.6, due to a coreutils
internal function being named like a glibc function. This has been
fixed in more recent coreutils version, by
http://lists.pld-linux.org/mailman/pipermail/pld-cvs-commit/Week-of-Mon-20070514/155466.html.

Therefore, we upgrade coreutils to its latest version, 7.4, which
raised two problems:

 * Recent coreutils releases are not anymore available as .bz2
   archives, only .xz archives. Since this archive format is not
   supported by Buildroot yet, and the corresponding tools are not
   widely available yet, we fallback to the bigger .gz format for the
   coreutils package.

 * The rename bug detection script m4/rename.m4 was broken, leading
   coreutils to try to include windows.h and compile some
   Windows-specific code. We introduce a patch to fix this, patch
   which has been taken from gnulib. We also make sure that this
   workaround is nevery compiled in by passing
   gl_cv_func_rename_dest_exists_bug=no to the configure script.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-31 13:54:23 +02:00
Thomas Petazzoni
8d880c3e5c Fix PROGRAM_INVOCATION handling with external toolchains
BR2_UCLIBC_PROGRAM_INVOCATION is a toolchain configuration option,
like BR2_INET_IPV6, BR2_INET_RPC, on which some packages
depend. Therefore, it should be handled like BR2_INET_IPV6 and
BR2_INET_RPC in order to work properly with external toolchains.

Since we move it out of toolchain/uClibc/Config.in into
toolchain/Config.in.2, we rename the option to BR2_PROGRAM_INVOCATION
(since BR2_INET_RPC and others don't have UCLIBC in their name).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-31 11:40:34 +02:00
Peter Korsgaard
5ae3eb1e10 tar/coreutils: use depends rather than select for toolchain options 2009-03-01 20:20:15 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Hamish Moffatt
af510f4e19 Applied patch from Nathanael D. Noblet <nathanael@gnat.ca> to fix
broken GNU download paths. Also fix gnuchess, xboard and classpath
packages to use $(BR2_GNU_MIRROR) rather than hardcoded urls.
2008-03-26 03:28:09 +00:00
Peter Korsgaard
efa0423110 buildroot: Use BR2_GNU_MIRROR everywhere
Patch by Nigel Kukard.
2008-03-11 08:17:17 +00:00
Hamish Moffatt
03d6531962 Run $(CONFIG_UPDATE) after unpacking sources
Patch from Dan Nicolaescu
2008-02-12 00:35:03 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
e4c6340a94 - cleanup and fixes (Cristian Ionescu-Idbohrn) 2007-09-17 12:30:31 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Ulf Samuelsson
406eeeeeb7 Allow user to configure PROGRAM_INVOCATION_NAME 2007-08-15 22:35:26 +00:00
Ulf Samuelsson
83f82272dd Avoid building packages requiring WCHAR, when not enabled 2007-08-12 00:14:58 +00:00
Ulf Samuelsson
5d19a1f5ae Be more specific for coreutils patches 2007-07-28 16:39:06 +00:00
Ulf Samuelsson
91a999f3ba Ensure 'coreutils' use patch from the correct directory 2007-07-20 11:16:56 +00:00
Ulf Samuelsson
e1621a4a2a Use <package>_VERSION in all <package>.mk instead of <package>_VER 2007-07-11 14:06:06 +00:00
"Steven J. Hill"
9a0f303cce Bump versions. 2007-07-06 11:41:27 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
Bernhard Reutner-Fischer
701d2aea93 - escape wildcards in kernel-patch patterns 2007-06-20 13:25:44 +00:00
Eric Andersen
85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
Eric Andersen
732d94d25f fixup a whole steaming pile of insanity. When packages are configured,
they should be configured with --prefix=/usr and we then need to use
make DESTDIR=$(STAGING_DIR) install to get things installed into the
staging directory.  The current situation for many packages, which use
--prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled
into the binary itself.

This also adds in a pile of libtool fixups.  Between broken pkgconfig,
broken libtool handling, and broken --prefix settings, its a wonder
things have worked as well as they have up till now.
 -Erik
2007-01-14 03:52:21 +00:00
Bernhard Reutner-Fischer
6e2823c1fa - add and use BR2_BZCAT config option. 2006-11-17 15:43:51 +00:00
Eric Andersen
4856369541 don't use ftp for gnu stuff, a few version bumps as well,
based on a patch from Fu Yunhui
2006-06-23 07:29:40 +00:00
Mike Frysinger
70b5dc8892 dont override CC 2006-04-20 00:58:20 +00:00
Eric Andersen
afc5e9078e fix up coreutils build 2006-04-19 21:17:49 +00:00
Eric Andersen
f144786ff5 dont check for the non-existant define 'HAVE_TIME_R_POSIX' 2006-04-19 20:24:12 +00:00
Mike Frysinger
71d38f4abb version bump to 5.94 2006-04-15 02:26:47 +00:00
Bernhard Reutner-Fischer
1281c7b4b9 - use coreutils-5.93 2006-03-08 08:34:32 +00:00
Mike Frysinger
da2cfe4b0a version bump 2006-02-15 00:37:19 +00:00
Mike Frysinger
9c67678772 we dont need these patches 2005-12-08 23:55:23 +00:00
"Steven J. Hill"
7a8d809a3a Fix broken packages that try to use __mempcpy. Shame on you. 2005-12-08 06:47:07 +00:00
Eric Andersen
74b9bf9945 fixup things to behave themselves properly.
/me kicks autoconf a few times
2005-12-08 06:39:19 +00:00
Mike Frysinger
c348e992b5 update COREUTILS_SITE as pointed out by andersee 2005-12-08 02:32:01 +00:00
Mike Frysinger
1857b72fcf ver bump to 5.3.0 2005-12-07 23:15:25 +00:00
Mike Frysinger
dfebda0014 remove extra space after touch 2005-11-24 06:53:24 +00:00
Eric Andersen
94b4383252 The coreutils configure script is a steaming <many explitives deleted
in the interest of our younger readers>.  This works around some of the
worst damage, thus allowing utils such as 'df' to properly cross compile
so that ltp will produce proper results.
2005-08-15 12:52:38 +00:00
Eric Andersen
6acb6740fb apply patches when requested to 2005-08-15 11:02:06 +00:00
Eric Andersen
d06645d8ed There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
2005-02-10 03:06:39 +00:00
Eric Andersen
b5a211c68e When both busybox and coreutils and/or util-linux are selected,
make certain that it is coreutils and/or util-linux that actually
gets their utilities installed.
 -Erik
2004-12-27 21:49:53 +00:00
Mike Frysinger
ab798b88d9 merge help descriptions written by Tom Cameron 2004-12-24 09:23:11 +00:00
Mike Frysinger
e5b51d4f3b update to 5.2.1 2004-12-22 05:29:13 +00:00
Mike Frysinger
1eda52851f help text 2004-10-14 20:33:45 +00:00