From patchwork Mon Apr 22 04:40:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Crosthwaite X-Patchwork-Id: 238317 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 30CBA2C0115 for ; Mon, 22 Apr 2013 14:43:02 +1000 (EST) Received: from localhost ([::1]:39921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UU8ai-0007FM-F9 for incoming@patchwork.ozlabs.org; Mon, 22 Apr 2013 00:43:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UU8aQ-0007Ax-H7 for qemu-devel@nongnu.org; Mon, 22 Apr 2013 00:42:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UU8aP-0002Qw-Ii for qemu-devel@nongnu.org; Mon, 22 Apr 2013 00:42:42 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:45399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UU8aP-0002Qm-93 for qemu-devel@nongnu.org; Mon, 22 Apr 2013 00:42:41 -0400 Received: by mail-pd0-f169.google.com with SMTP id 14so1484952pdc.28 for ; Sun, 21 Apr 2013 21:42:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=6bJJci6lljXK41EUu2ADtTHYGCJzTPFlEIwkEooHQ2Q=; b=EcCikVhDfc3yLOrfxIf7nCyIkhndQ/Ibd7IMISWoQ/1ouW4Q2JK+pEC2CjT4UBXGXj mPbElRvfAD/qJXmYA2oUqDXCoVUdrSnrfl8vzzNf1tQ747lyZjJaekaJ0NuRxn4yoKUg pYOkT7Hc3alGdfBuPNfo5XpkcPVZ56T7xNZZHgFr8p1Rp4VGM+kn4QcIZXhm4kyaaHNG 6dEHzN+si8tYvCvAJP8FnXidWTpU+T9IRS0mw2CGRFe0UoZlCikDVQnFWIJKLo0E7exX DOjmqS9nocGlJKdGBXYY8Li9OIg84w5l0YvhDoFdaiqonX8tZXEf74OngPJNeut0Aga2 CTdg== X-Received: by 10.68.135.231 with SMTP id pv7mr30338440pbb.108.1366605760629; Sun, 21 Apr 2013 21:42:40 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPS id dr6sm25380009pac.11.2013.04.21.21.42.38 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 21 Apr 2013 21:42:39 -0700 (PDT) From: peter.crosthwaite@xilinx.com To: qemu-devel@nongnu.org Date: Mon, 22 Apr 2013 14:40:49 +1000 Message-Id: <2f44cfcdea050da72668e3a39af31201ad9eae79.1366605200.git.peter.crosthwaite@xilinx.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: X-Gm-Message-State: ALoCoQn97SobWBS1+Y7pRs45WYgmn0Lh6YeptObRKWiCxDaSXul24+RlmSRr4xzMvAlkoHeycmxE X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.192.169 Cc: blauwirbel@gmail.com, pbonzini@redhat.com, peter.maydell@linaro.org Subject: [Qemu-devel] [PATCH RFT for-1.5 v1 1/2] Makefile: Don't build shared libfdt X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Peter Crosthwaite The submodule DTC should just build and use DTC as static (the whole motivation for using submod is lack of widespread distro support). The .so causes build failures on some platforms, so adjust the make target to just build the static lib. Signed-off-by: Peter Crosthwaite --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 88375dc..c4847aa 100644 --- a/Makefile +++ b/Makefile @@ -149,7 +149,7 @@ DTC_MAKE_ARGS=-I$(SRC_PATH)/dtc VPATH=$(SRC_PATH)/dtc -C dtc V="$(V)" LIBFDT_src DTC_CFLAGS=$(CFLAGS) $(extra_cflags) -I$(BUILD_DIR)/dtc -I$(SRC_PATH)/dtc -I$(SRC_PATH)/dtc/libfdt subdir-dtc:dtc/libfdt dtc/tests - $(call quiet-command,$(MAKE) $(DTC_MAKE_ARGS) CPPFLAGS="$(DTC_CFLAGS)" LDFLAGS="$(LDFLAGS)" ARFLAGS="$(ARFLAGS)" CC="$(CC)" AR="$(AR)" LD="$(LD)" $(SUBDIR_MAKEFLAGS) libfdt,) + $(call quiet-command,$(MAKE) $(DTC_MAKE_ARGS) CPPFLAGS="$(DTC_CFLAGS)" LDFLAGS="$(LDFLAGS)" ARFLAGS="$(ARFLAGS)" CC="$(CC)" AR="$(AR)" LD="$(LD)" $(SUBDIR_MAKEFLAGS) libfdt/libfdt.a,) dtc/%: mkdir -p $@