Age | Commit message (Collapse) | Author |
|
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS 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>
|
|
Host libraries should always be built using dynamic linking, rather than
static if BR2_PREFER_STATIC_LIB is enabled, as that then breaks dependent
libraries expecting a shared library.
Reported-by: Andy Kennedy <andy.kennedy@adtran.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
By default, zlib installation procedure calls ldconfig, which takes
time uselessly. ldconfig is only useful if you install libraries on
the host (in directories listed in /etc/ld.so.conf, or in /usr/lib or
/lib), so calling it after installing libraries in $(STAGING_DIR),
$(TARGET_DIR) or $(HOST_DIR) is just a lenghty no-op.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Fixes 'make install'.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Use 'make install' for installation, add a patch to make it work for
static only builds, and add uninstall/clean targets while we're at it.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Using "make -j $(N)" with N > 1 sometimes breaks zlib build.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Closes #1981
Signed-off-by: Paul Jones <paul@pauljones.id.au>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
zlib is needed on the host, to build xlib_libfontenc on the host, to
build xapp_mkfontscale on the host, in order to finally build xfonts
encodings on the target.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
Fix typo introduced by 1e32e0700a (remove dedicated target-headers option).
Noticed by Alexander Clouter <alex@digriz.org.uk>.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES
is enabled.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Positive logic is easier to read and understand than something
like 'if not option=yes then foo else bar'.
Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
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>
|
|
|
|
This patch will install zlib keeping the symlinks. The usage of
$(INSTALL) here did not take into account symbolic links.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
|
|
The ARM uClinux BFLT format apparently doesn't support shared libs nor
-fPIC. So let's distinguish between shared and non shared builds by
having split rules for libz.a and libz.so based on BR2_PREFER_STATIC_LIB.
Signed-off-by: Nicolas Pitre <nico@cam.org>
|
|
|
|
|
|
TARGET_DIR. Thanks to Thomas Petazzoni and Bernhard Reutner-Fischer.
|
|
|
|
|
|
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
|
|
|
|
|
|
|
|
|
|
TARGET_LDFLAGS are passed with the compilers and linker respectively so that we can pass CFLAGS and LDFLAGS on a per-package basis which was not possible previously and a number of packages failed to build. TARGET_CFLAGS usage in package makefiles will be removed next.
|
|
|
|
|
|
|
|
First hunk of fixes for bug #1290
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lead a denial of service or arbitrary code execution. Tavis Ormandy CAN-2005-2096
|
|
If I understand you correctly, you want the ncurses development headers
on the target.
a patch for this (named target_headers.patch and includes similar
options for a few other libs in buildroot) can be found at:
http://www.zelow.no/floppyfw/download/Development/Patches/buildroot/
(a few packages there aswell)
it will add an option to put headers on target for ncurses, zlib and
openssl.
Thomas.
|
|
mirrors tend to change, move, go down, etc from time to time.
|
|
1.2.2 version of zlib fixes a security issue with zlib v.1.2.1.
http://bugs.uclibc.org/view.php?id=254
|
|
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
|
|
|
|
|
|
directory.
|