From patchwork Tue Jul 14 22:17:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Stewart X-Patchwork-Id: 495276 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id F38D114077C for ; Wed, 15 Jul 2015 08:17:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3F052921EE; Tue, 14 Jul 2015 22:17:37 +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 EOzk+U5hIw0o; Tue, 14 Jul 2015 22:17:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A5ECC9211C; Tue, 14 Jul 2015 22:17:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D1F321C214E for ; Tue, 14 Jul 2015 22:17:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CE5BAA4255 for ; Tue, 14 Jul 2015 22:17:32 +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 MqvIxgJxbhI7 for ; Tue, 14 Jul 2015 22:17:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 966B1A3FE2 for ; Tue, 14 Jul 2015 22:17:31 +0000 (UTC) Received: by pactm7 with SMTP id tm7so12184855pac.2 for ; Tue, 14 Jul 2015 15:17:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JckcvStOKcBrCamftaeVegVNgs6jQSsGL68IqtF4sJ8=; b=aAnWCLRUuXbvMxxKcWrZcT/8wg5nSkga/OGpk2SbyW5W0d3TOLurO+d2bkXofnxY9y fw5IEwmVoo4k57PoWORiXqVBBHT3qWPah93jP99Nb+MO+sktnPfUSkqpGjm22eJz3O2L t676vaqIm3rHSWRYptpk0il+pBtzGpl8K17R5GFg5+IegLJ5XzGtzXR2EgAmuTQ2qON/ WLZyHJxqioupOdm297JpHRArmH6++TOWUCgTXyVUGxrsAWYXPtgY/rJoRd0fb2PkpcrF YxPrvBWImz/0f6F0xHPpOxJwrOVwa46bVxj/9vyZOPND8Z6kPMDOiXn/JSUj0Q8g1LAZ p9ng== X-Gm-Message-State: ALoCoQkM8jmK8KgpxmCoCuAKdY78iDbnT+Qu1Z9CjIIyUHNzVkv20gI3mxvKHdEYDkE9lizu8ssq X-Received: by 10.70.129.102 with SMTP id nv6mr1494194pdb.55.1436912251362; Tue, 14 Jul 2015 15:17:31 -0700 (PDT) Received: from localhost.localdomain ([64.145.76.195]) by smtp.gmail.com with ESMTPSA id so5sm2385905pab.37.2015.07.14.15.17.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jul 2015 15:17:29 -0700 (PDT) From: Christian Stewart To: buildroot@buildroot.org Date: Tue, 14 Jul 2015 15:17:18 -0700 Message-Id: <1436912239-27893-2-git-send-email-christian@paral.in> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436912239-27893-1-git-send-email-christian@paral.in> References: <1436912239-27893-1-git-send-email-christian@paral.in> Cc: Christian Stewart Subject: [Buildroot] [PATCH v2 2/3] aufs-util: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" This compiles aufs-util, built for recent kernels. Signed-off-by: Christian Stewart --- package/Config.in | 1 + package/aufs-util/Config.in | 6 ++++++ package/aufs-util/aufs-util.hash | 1 + package/aufs-util/aufs-util.mk | 28 ++++++++++++++++++++++++++++ 4 files changed, 36 insertions(+) create mode 100644 package/aufs-util/Config.in create mode 100644 package/aufs-util/aufs-util.hash create mode 100644 package/aufs-util/aufs-util.mk diff --git a/package/Config.in b/package/Config.in index b49c94f..5500564 100644 --- a/package/Config.in +++ b/package/Config.in @@ -149,6 +149,7 @@ endif endmenu menu "Filesystem and flash utilities" + source "package/aufs-util/Config.in" source "package/btrfs-progs/Config.in" source "package/cifs-utils/Config.in" source "package/cramfs/Config.in" diff --git a/package/aufs-util/Config.in b/package/aufs-util/Config.in new file mode 100644 index 0000000..1afb79b --- /dev/null +++ b/package/aufs-util/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_AUFS_UTIL + bool "aufs-util" + help + Aufs command line utilities. + + http://sourceforge.net/p/aufs/aufs-util/ diff --git a/package/aufs-util/aufs-util.hash b/package/aufs-util/aufs-util.hash new file mode 100644 index 0000000..8f38991 --- /dev/null +++ b/package/aufs-util/aufs-util.hash @@ -0,0 +1 @@ +sha256 d3b0005405840eff5dfe4e28cf86e54224d696295eefd05655a66d8710047f04 aufs-util-3.9-20130907.tar.gz diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk new file mode 100644 index 0000000..c2a8e1a --- /dev/null +++ b/package/aufs-util/aufs-util.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# aufs-util +# +################################################################################ + +AUFS_UTIL_VERSION = "3.9-20130907" +AUFS_UTIL_DEPENDENCIES = linux linux-headers +AUFS_UTIL_SITE = $(call github,morfoh,aufs-util,aufs-util-$(AUFS_UTIL_VERSION)) +AUFS_UTIL_LICENSE = GNU + +# Slight hack for a bug with aufsmvdown +# Remove user setting from install command +define AUFS_UTIL_CONFIGURE_CMDS + $(SED) 's/\.a\[/\.stbr\[/g' $(@D)/aumvdown.c + $(SED) 's/\-o root \-g root //g' $(@D)/Makefile +endef + +define AUFS_UTIL_BUILD_CMDS + $(MAKE) -C $(LINUX_BUILDDIR) headers_install + $(MAKE) -C $(@D) CPPFLAGS="-I $(LINUX_BUILDDIR)/usr/include/" HOSTCC="$(CC)" HOSTLD="$(LD)" INSTALL="$(INSTALL)" all +endef + +define AUFS_UTIL_INSTALL_TARGET_CMDS + $(MAKE) -C $(@D) INSTALL="$(INSTALL)" DESTDIR="$(TARGET_DIR)" install +endef + +$(eval $(generic-package))