Go to file
Thomas Petazzoni 17cf7e511e lz4: install programs as well as libraries
Prior to commit 8ad38a4fc2
("package/lz4: bump version to r131"), the lz4 package was installing
both libraries and programs, but this commit changed the behavior to
only install libraries.

The contributor might have been confused by the fact that the build
command was "$(MAKE) ... -C $(@D) liblz4", suggesting that only the
library was built. But since the install command was "$(MAKE) ... -C
$(@D) install", the programs were effectively built as part of the
install step, and installed as well.

Since it makes sense for lz4 to also installs its programs, this
commit adjusts the package accordingly.

It is worth mentioning that using the "all" target during the build
step is important. Indeed, otherwise the programs/Makefile has a
"default" target that doesn't build everything (especially the lz4c
program) and it end up being built as part of the install step, due to
how the makefile dependencies are handled in the lz4 project. To make
sure that everything gets built during the build step, we explicitly
use the "all" target.

Fixes bug #9996

Reported-by: Jamin Collins <jamin.collins@gmail.com>
Initial-analysis-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 6f1c11f79a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-01-30 23:36:42 +01:00
arch arch/arm: fix -mcpu default values for AArch64 2017-07-20 07:37:58 +02:00
board wandboard: genimage: Pass an offset for the rootfs 2017-09-29 09:44:41 +02:00
boot grub2: force -fno-stack-protector in CFLAGS 2017-09-06 13:28:57 +02:00
configs configs/mx25pdk: Bump U-Boot and kernel versions 2017-02-09 22:22:21 +01:00
docs docs/manual: fix BR2_EXTERNAL path typo 2017-10-15 22:47:35 +02:00
fs fs/iso9660: really create initrd temp dir 2017-09-06 11:08:26 +02:00
linux linux: fix name of config variable 2017-06-08 16:50:39 +02:00
package lz4: install programs as well as libraries 2018-01-30 23:36:42 +01:00
support support/scripts/size-stats: avoid divide-by-zero 2017-12-20 21:52:17 +01:00
system system: do not overwrite /bin/sh Busybox symlink 2017-03-31 09:12:23 +02:00
toolchain Fix makefile include order by using sort/wildcard. 2017-11-30 08:24:03 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.gitignore
CHANGES Update for 2017.02.9 2018-01-01 12:20:54 +01:00
Config.in Config.in: fix help comment for gcc optimization 2017-10-24 08:20:55 +02:00
Config.in.legacy gst1-plugins-bad: fix webrtc option 2017-07-04 17:47:05 +02:00
COPYING
DEVELOPERS matchbox-lib: fix dependencies 2018-01-29 22:23:54 +01:00
Makefile Update for 2017.02.9 2018-01-01 12:20:54 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README

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.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches