Go to file
Danomi Manchego 9917e48d7e pkg-autotools: fix patching libtool for version 2.4
If the libtool used by the package is 2.4 (i.e. with no patchlevel), we
end up with error messages like this one, seen when building ntp-4.2.8p3:

    /bin/sh: line 0: test: 2.4: integer expression expected

That's because the current sed expression "[0-9].[0-9]." only deletes content
like "2.4.", so it leaves "2.4" (no patch level *and* no second period) intact,
resulting in an ltmain_patchlevel of "2.4", not empty, and not "0".  Then the
shell line goes bad, because the built in shell test -gt operates on integers
only, and fails on floating point numbers (like "2.4").

Additionally, the existing sed lines are problematic in other ways, because the
current expression "[0-9].[0-9]" will match "234" as well as "2.4", as an unescaped
period matches any character, not just a period.  Also, the lack of an asterisk
after the first character may be a problem in the future, if a two digit initial
number is used.

So, this patch changes the sed regex as follows:

* Match a string of digits when searching for a number.  I.e. "[0-9]*"
* Match specifically a period in between two numbers.  I.e. "\."
* When searching for a patch level, make the second period optional.  I.e. "\.*"

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-07-06 18:12:55 +02:00
arch arm: update processor types 2015-06-28 14:32:25 +02:00
board board: add support for WarPboard 2015-07-04 15:03:15 +02:00
boot barebox: bump to version 2015.07.0 2015-07-05 13:15:37 +02:00
configs board: add support for WarPboard 2015-07-04 15:03:15 +02:00
docs scripts/mkusers: allow users with no password value set 2015-06-09 23:13:41 +02:00
fs fs/iso9660: add support for grub2 2015-06-14 23:25:18 +02:00
linux linux: bump default to version 4.1.1 2015-06-30 14:26:58 +02:00
package pkg-autotools: fix patching libtool for version 2.4 2015-07-06 18:12:55 +02:00
support support: remove outdated note re. Python 3 support 2015-06-12 21:19:52 +02:00
system system: allow/disallow root login, accept encoded passwords 2015-07-04 12:46:43 +02:00
toolchain toolchain: allow for stupid toolchains 2015-06-28 14:32:40 +02:00
.defconfig arch: kill avr32 2015-02-14 17:39:50 +01:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES Update for 2015.05 2015-05-31 23:15:34 +02:00
Config.in Config.in: remove BR2_DEPRECATED_SINCE_2014_05 2015-06-02 22:58:29 +02:00
Config.in.legacy libsemanage: cleanup python use and license definition 2015-06-30 16:38:36 +02:00
COPYING clarify license and fix website license link 2009-05-08 09:29:41 +02:00
Makefile packages: fix and improve support for top-level parallel make 2015-07-04 15:05:24 +02:00
Makefile.legacy Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG 2014-02-11 08:14:57 +01:00
README README: mention 'make list-defconfigs' 2015-04-04 15:19:43 +02:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.