aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-10-22 22:33:56 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-03 23:41:11 +0100
commit0ea851c0c0f9783894e9469806d0e25c2bf5d55b (patch)
tree6b1e76a586b11d08b1dd6da79ea575bb80971099 /Makefile
parentd0185582d0e24281640579cb3ea1d67e519febae (diff)
downloadbuildroot-0ea851c0c0f9783894e9469806d0e25c2bf5d55b.tar.gz
buildroot-0ea851c0c0f9783894e9469806d0e25c2bf5d55b.tar.bz2
core: do not accept multiple definitions of a package
One of the selling points for br2-external is to provide a mean to add new packages. However, it is not supported that a package be defined by Buildroot and then redefined in a br2-external tree. This situation may occur without the user noticing or even willing to redefine the package, for example: - br2-external is first created against a version of Buildroot - a package (missing in Buildroot) is added to that br2-external tree - upstream Buildroot adds this package - user updates to the new Buildroot In this case, the result in undefined, and we can't make any guarantee on the result (working or not). Add a sanity check so that a package redefinition gets caught. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Arnout Vandecappelle <arnout@mind.be> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8e3f6572d5..caf4a919a8 100644
--- a/Makefile
+++ b/Makefile
@@ -334,6 +334,7 @@ unexport O
GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)
PACKAGES :=
+PACKAGES_ALL :=
# silent mode requested?
QUIET := $(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),-q)