Commit Graph

62 Commits

Author SHA1 Message Date
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Gustavo Zacarias
0cce9228a1 bash: build after busybox
Make sure bash builds after busybox when it's enabled to override
busybox's /bin/sh symlink with bash.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-17 21:06:38 +01:00
Gustavo Zacarias
d51948317b bash: fix build issues reported by Dmitry Ivanov, update to pl9
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-19 10:16:16 +01:00
Gustavo Zacarias
3404ad7c4f bash: bump to 4.1.7(1) and migrate to autotargets
Closes #1993

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-01 21:42:32 +02:00
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
Lionel Landwerlin
5082e476d1 bash: fix configuration
Patch bash32-011 modifies the configure.in script. Therefor we need to
run autoconf before launching the configure script. Otherwise, once
the configure script called, the makefile's dependencies over
configure.in will relaunch autoconf without options/environnement
variables we usually set when calling configure.

[Peter: use our own host-autoconf instead of what's on the host]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-28 17:50:54 +01:00
Lionel Landwerlin
21ebd57287 bash: remove CC variable when calling make
So "/opt/whatever_toolchain/gcc --sysroot $(STAGING_DIR)" isn't
stripped to "/opt/whatever_toolchain/gcc", making gcc to look at
$(ORIGINAL_TOOLCHAIN_DIRECTORY)/usr/include instead of
$(STAGING_DIR)/usr/include. For more CC is already filled when
running the configure script.

This problem should only be visible with an external toolchain.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-28 16:34:59 +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
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
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
Wade Berrier
6f6893c633 bash.mk:
-Force some autoconf options so that job control
 is turned on.
 (Otherwise these checks fail when cross compiling.
  And when job control is disabled, bash can't be
  the default shell)
2008-10-06 19:09:14 +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
Nigel Kukard
02d713dcdd * Fixed bash patches 2008-05-01 19:07:58 +00:00
Nigel Kukard
4b751965ef * Sync'd bash patches to upstream 2008-04-29 20:03:03 +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
John Voltz
1163cf741c added debug option 2008-03-11 18:12:15 +00:00
Peter Korsgaard
efa0423110 buildroot: Use BR2_GNU_MIRROR everywhere
Patch by Nigel Kukard.
2008-03-11 08:17:17 +00:00
Bernhard Reutner-Fischer
0c6c85cbfa - pull patches 018..024 2007-10-07 18:23:11 +00:00
Bernhard Reutner-Fischer
e4c6340a94 - cleanup and fixes (Cristian Ionescu-Idbohrn) 2007-09-17 12:30:31 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Ulf Samuelsson
f6ce32c0ea Remove bzero dependencies in bash 2007-08-22 09:41:37 +00:00
Ulf Samuelsson
81001579bc Fix bad patch naming scheme 2007-08-22 09:29:49 +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
17facb94c5 Avoid error msg when TARGET_DIR/bin is created for the umpteenth time 2007-08-11 23:57:19 +00:00
Ulf Samuelsson
cd599b6114 Use <package>_VERSION in all <package>.mk instead of <package>_VER 2007-07-11 13:55:55 +00:00
Bernhard Reutner-Fischer
79e2d802ae - fix a few -clean targets.
- bash build is not parallel-safe
2007-06-28 14:07:13 +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
e1d4dc1d8e - forgot to adjust the pathes.. 2007-06-25 11:22:26 +00:00
Bernhard Reutner-Fischer
7e81360323 - pull some additional fixes from upstream 2007-06-25 11:17:52 +00:00
Bernhard Reutner-Fischer
41decaa9fe - install some more stuff that goes into staging_dir into the proper place.
First hunk of fixes for bug #1290
2007-04-16 18:51:20 +00:00
Bernhard Reutner-Fischer
ba3a8e5afd - using target's LDFLAGS as LDFLAGS_FOR_BUILD is b0rked 2007-04-06 11:55:37 +00:00
Eric Andersen
85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
Bernhard Reutner-Fischer
2208a62d71 - some more CONFIG_UPDATEs by Haavard Skinnemoen 2007-03-07 14:32:22 +00:00
Bernhard Reutner-Fischer
f9d7e9f0e7 - bump to bash 3.2. Thanks to Alexander Rigbo 2007-02-16 13:11:04 +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
ec5b83ce2f - add missing package-source targets
- add missing dependencies to build prerequisites in the config system
2007-01-03 13:44:01 +00:00
Bernhard Reutner-Fischer
bc2f0501fe - bash can't be built with -j. 2006-12-08 12:50:37 +00:00
Bernhard Reutner-Fischer
6342c83201 - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may not exist; Closes #971
Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
2006-10-01 15:17:52 +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
280515fc5c fix patch to work with -p1 2006-04-15 02:26:01 +00:00
Mike Frysinger
468fe5665e some more upstream patches 2006-04-15 02:25:18 +00:00
Mike Frysinger
607633f50a some more upstream patches 2006-04-15 02:24:59 +00:00
Mike Frysinger
2b58b9d12c some more patches from upstream 2006-03-23 03:04:41 +00:00
Mike Frysinger
b8601dd7ea import bash-3.1 patches 2006-03-19 08:52:48 +00:00
Mike Frysinger
d4f0350c6d update to bash-3.1 2006-03-19 08:52:29 +00:00
Bernhard Reutner-Fischer
8ec9199f17 - quote HOST_CC.
Allows for passing flags along HOST_CC which is sometimes needed on certain
  architectures.
2006-03-10 08:30:15 +00:00
Mike Frysinger
dfebda0014 remove extra space after touch 2005-11-24 06:53:24 +00:00
Eric Andersen
f3dcc7593c also remove support/mksignames.c 2005-08-02 23:05:22 +00:00
Eric Andersen
0896e6f709 Hopefully this will teach bash to get signals correct when cross compiled. 2005-08-02 23:00:09 +00:00