From patchwork Mon May 5 07:52:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 345605 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 25A751402C7 for ; Mon, 5 May 2014 17:54:30 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BD7F889883; Mon, 5 May 2014 07:54:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fTGPlydp0H3I; Mon, 5 May 2014 07:54:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id CB7FE894B2; Mon, 5 May 2014 07:54:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 9478D1C206D for ; Mon, 5 May 2014 07:54:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 89BE3268E4 for ; Mon, 5 May 2014 07:54:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xzAnXlDvvxMM for ; Mon, 5 May 2014 07:54:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by silver.osuosl.org (Postfix) with ESMTPS id 9003125E47 for ; Mon, 5 May 2014 07:54:22 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id t60so1409681wes.27 for ; Mon, 05 May 2014 00:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:subject :message-id:user-agent:date:from:to:cc; bh=Sk9avxX0JmJq6XmDuQhOp4Mnf7R8QofU5q4SAKy4uV0=; b=yToqZ1HQkoo1i6uSk8XySz2jFMRZdNGHuyiUiTeb/uMCSCISLaXfEDpeOyP2mdurwf 5lgMJeTBktJmnPHUS4lsVltEkKXZyNGRp96NQLdCtXPlsFnl8dhUqoMsGghPfVzEh43U 7mmeVmAhdzK0k1xy6D3UPlW1Bnk4GL1gAuMTTSyF4GweHTCDFD6FoPZw2ySUyNdJpXgh 3XAGLmNhOay0O//97qPcoLrxYONM9f9YCwrHegx+ZoIheXIGTZqJ1LHhN6BRJOXkjckT nCgEXaD+O0XharhLSmfWo8mIv20Yc04RnNE3PEZn8WEcBtlsnyIb2HCdR+IllM6bUOma bu0g== X-Received: by 10.180.73.140 with SMTP id l12mr14672731wiv.3.1399276461028; Mon, 05 May 2014 00:54:21 -0700 (PDT) Received: from [127.0.1.1] (alc112.alcatel.be. [195.207.101.112]) by mx.google.com with ESMTPSA id fq2sm4952092wib.2.2014.05.05.00.54.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 00:54:20 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: d407527a4c853dd989fb369e9afbc7a753ec7a8a Message-Id: User-Agent: Mercurial-patchbomb/2.2.2 Date: Mon, 05 May 2014 09:52:13 +0200 From: Thomas De Schampheleire To: buildroot@buildroot.org Subject: [Buildroot] [PATCH v2] Makefile: move fs/common.mk above external.mk X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Philippe Reynes The file external.mk was included before fs/common.mk, so it was impossible to add rootfs targets using the BR2_EXTERNAL mechanism. This change moves the inclusion of fs/common.mk before external.mk to allow this. Signed-off-by: Philippe Reynes [ThomasDS: rebased, update commit message] Signed-off-by: Thomas De Schampheleire --- v2: rebased, update commit message Makefile | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -388,6 +388,7 @@ include $(sort $(wildcard package/*/*.mk include boot/common.mk include linux/linux.mk include system/system.mk +include fs/common.mk include $(BR2_EXTERNAL)/external.mk @@ -401,8 +402,6 @@ ifeq ($(BR2_ECLIPSE_REGISTER),y) TARGETS += toolchain-eclipse-register endif -include fs/common.mk - TARGETS_SOURCE := $(patsubst %,%-source,$(TARGETS)) TARGETS_DIRCLEAN := $(patsubst %,%-dirclean,$(TARGETS))