Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: steffenhoenig <s.hoenig@openthinclient.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] aufs-utils: initial release
Date: Mon, 28 Jul 2014 21:34:24 +0200	[thread overview]
Message-ID: <1406576065-20263-1-git-send-email-mail@steffenhoenig.com> (raw)

Signed-off-by: steffenhoenig <mail@steffenhoenig.com>
---
 package/Config.in                |  1 +
 package/aufs-utils/Config.in     |  4 ++++
 package/aufs-utils/aufs-utils.mk | 27 +++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 package/aufs-utils/Config.in
 create mode 100644 package/aufs-utils/aufs-utils.mk

diff --git a/package/Config.in b/package/Config.in
index 559b895..b49908c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -136,6 +136,7 @@ endif
 endmenu
 
 menu "Filesystem and flash utilities"
+	source "package/aufs-utils/Config.in"
 	source "package/btrfs-progs/Config.in"
 	source "package/cifs-utils/Config.in"
 	source "package/cramfs/Config.in"
diff --git a/package/aufs-utils/Config.in b/package/aufs-utils/Config.in
new file mode 100644
index 0000000..fc77218
--- /dev/null
+++ b/package/aufs-utils/Config.in
@@ -0,0 +1,4 @@
+config BR2_PACKAGE_AUFS_UTILS
+	bool "aufs-utils"
+	help
+          Utilities for Aufs3
diff --git a/package/aufs-utils/aufs-utils.mk b/package/aufs-utils/aufs-utils.mk
new file mode 100644
index 0000000..de14e81
--- /dev/null
+++ b/package/aufs-utils/aufs-utils.mk
@@ -0,0 +1,27 @@
+################################################################################
+#
+# aufs-utils
+#
+################################################################################
+
+AUFS_UTILS_VERSION = aufs3.9
+AUFS_UTILS_LICENCSE = GPLv2
+AUFS_UTILS_LICENSE_FILES = COPYING
+AUFS_UTILS_SITE = http://git.code.sf.net/p/aufs/aufs-util
+AUFS_UTILS_SITE_METHOD = git
+AUFS_UTILS_DEPENDENCIES = aufs
+
+AUFS_UTILS_SBIN = mount.aufs umount.aufs # auplink auibusy aumvdown
+AUFS_UTILS_UBIN = aubusy auchk aubrsync # auctl
+
+define AUFS_UTILS_BUILD_CMDS
+	$(MAKE) -C $(@D)/libau CPPFLAGS="-I$(STAGING_DIR)/usr/include" KDIR=$(LINUX_DIR) CC="$(TARGET_CC)" LD="$(TARGET_LD)" libau.so
+	$(MAKE) -C $(@D) CPPFLAGS="-I$(STAGING_DIR)/usr/include" KDIR=$(LINUX_DIR) CC="$(TARGET_CC)" LD="$(TARGET_LD)" $(AUFS_UTILS_SBIN)
+endef
+
+define AUFS_UTILS_INSTALL_TARGET_CMDS
+	$(foreach p,$(AUFS_UTILS_SBIN),$(INSTALL) -D -m 0755 $(@D)/$(p) $(TARGET_DIR)/sbin/;)
+	$(foreach p,$(AUFS_UTILS_UBIN),$(INSTALL) -D -m 0755 $(@D)/$(p) $(TARGET_DIR)/usr/bin/;)
+endef
+
+$(eval $(generic-package))
-- 
1.9.1

             reply	other threads:[~2014-07-28 19:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28 19:34 steffenhoenig [this message]
2014-07-28 19:34 ` [Buildroot] [PATCH 2/2] aufs: initial release (selects aufs-utils) steffenhoenig
2014-11-23 20:54   ` Thomas Petazzoni
2014-11-23 21:00 ` [Buildroot] [PATCH 1/2] aufs-utils: initial release Thomas Petazzoni
2015-01-02 16:24 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1406576065-20263-1-git-send-email-mail@steffenhoenig.com \
    --to=s.hoenig@openthinclient.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox