From patchwork Sat Oct 13 11:46:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 191292 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 4E2C22C007E for ; Sat, 13 Oct 2012 22:46:31 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4B19910BAB6; Sat, 13 Oct 2012 11:46:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z6yHMaG2ytNn; Sat, 13 Oct 2012 11:46:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2292710BAA8; Sat, 13 Oct 2012 11:46:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7B7968F74A for ; Sat, 13 Oct 2012 11:46:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A64F68F076 for ; Sat, 13 Oct 2012 11:46:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UfWT7gU0VmTS for ; Sat, 13 Oct 2012 11:46:23 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by whitealder.osuosl.org (Postfix) with ESMTPS id 076048F06A for ; Sat, 13 Oct 2012 11:46:22 +0000 (UTC) Received: from [172.16.2.6] (helo=vandecaa-laptop) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1TN0Ac-0000cN-Po; Sat, 13 Oct 2012 13:46:19 +0200 Received: from arnout by vandecaa-laptop with local (Exim 4.80) (envelope-from ) id 1TN0Ab-0003XB-71; Sat, 13 Oct 2012 13:46:17 +0200 From: "Arnout Vandecappelle (Essensium/Mind)" To: buildroot@busybox.net Date: Sat, 13 Oct 2012 13:46:09 +0200 Message-Id: <1350128769-13518-1-git-send-email-arnout@mind.be> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] unionfs: convert to cmake-package 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Fixes e.g. http://autobuild.buildroot.net/results/c279007dd8b89a1c6fc9b58d3c2cda01ab84279e The addition of CPPFLAGS overrides the defines added in unionfs's Makefile. Since unionfs now has CMake support, use that instead. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- With CMake, buildroot's CPPFLAGS are just not used. This should probably be corrected in cmake.mk. package/unionfs/unionfs.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/package/unionfs/unionfs.mk b/package/unionfs/unionfs.mk index eb8109e..6c86c57 100644 --- a/package/unionfs/unionfs.mk +++ b/package/unionfs/unionfs.mk @@ -11,12 +11,4 @@ UNIONFS_DEPENDENCIES = libfuse host-pkg-config UNIONFS_LICENSE = BSD-3c UNIONFS_LICENSE_FILES = LICENSE -define UNIONFS_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -endef - -define UNIONFS_INSTALL_TARGET_CMDS - $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) +$(eval $(cmake-package))