summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2015-07-11 16:15:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-12 00:51:08 +0200
commit73b9a5ee02373df35426e36345ee5fc1eaccac3c (patch)
treee11f095ce59381ad2788b375953ef7478dc99814 /docs/manual
parent4837354fff8cc56916fa10e5ac5f8da73d0cc405 (diff)
downloadbuildroot-73b9a5ee02373df35426e36345ee5fc1eaccac3c.tar.gz
buildroot-73b9a5ee02373df35426e36345ee5fc1eaccac3c.zip
Add <PKG>_STRIP_COMPONENTS for packages with non-standard tarballs
Usually package tarballs contain only a directory named "<pkg-name>-<pkg-version>" which contains the actual source tree. To properly extract the source files in $(BUILD_DIR), Buildroot passes the --strip-components=1 option to tar. Unfortunately a few packages ship in a non-standard way, with no root directory or with more than one. In Buildroot these packages must be handled by overriding the <PKG>_DOWNLOAD_CMDS. As the number of such packages is growing, introduce a <PKG>_STRIP_COMPONENTS variable for packages to request a number of components to strip different from 1. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Arnout Vandecappelle <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud