From 5309e2e181822cc00ba2a59270a448d27f40aa3f Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 11 Oct 2014 19:34:42 +0200 Subject: [PATCH] Makefile: be sure the default rule 'all:' is the first one In the coming patch, we are going to change the order in which our rules are defined, because we include the gendoc infra before we define the 'all:' rule, so we need to decalre the 'all:' rule before we include gendoc. Declare it very, very early in the Makefile, so it always kick in first. The actual dependency is still declared much later, all that counts is that "all:" is first. Signed-off-by: "Yann E. MORIN" Cc: Peter Korsgaard Signed-off-by: Peter Korsgaard --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 3f5664811f..525dd9c6f3 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,9 @@ # You shouldn't need to mess with anything beyond this point... #-------------------------------------------------------------- +# This is our default rule, so must come first +all: + # Set and export the version string export BR2_VERSION := 2014.11-git