From: Jeroen De Wachter <jeroen.de.wachter@telenet.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Added menu entry to build squashfs host tools separately
Date: Thu, 30 Jan 2014 14:52:23 +0100 (CET) [thread overview]
Message-ID: <2146187109.45390160.1391089943313.JavaMail.root@telenet.be> (raw)
Before, the squashfs tools for host were only built when a squashfs
root filesystem image was generated.
If the squashfs image is selected, it automatically selects the
squahsfs host tools as well. Consequently, I've removed
host-squashfs from ROOTFS_SQUASHFS_DEPENDENCIES.
---
fs/squashfs/Config.in | 1 +
fs/squashfs/squashfs.mk | 2 --
package/Config.in.host | 1 +
package/squashfs/Config.in.host | 6 ++++++
4 files changed, 8 insertions(+), 2 deletions(-)
create mode 100644 package/squashfs/Config.in.host
diff --git a/fs/squashfs/Config.in b/fs/squashfs/Config.in
index 817909d..e788e61 100644
--- a/fs/squashfs/Config.in
+++ b/fs/squashfs/Config.in
@@ -1,5 +1,6 @@
config BR2_TARGET_ROOTFS_SQUASHFS
bool "squashfs root filesystem"
+ select BR2_PACKAGE_HOST_SQUASHFS
help
Build a squashfs root filesystem
diff --git a/fs/squashfs/squashfs.mk b/fs/squashfs/squashfs.mk
index eb5fc3e..b5ece9d 100644
--- a/fs/squashfs/squashfs.mk
+++ b/fs/squashfs/squashfs.mk
@@ -4,8 +4,6 @@
#
################################################################################
-ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
-
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZO),y)
ROOTFS_SQUASHFS_ARGS += -comp lzo
else
diff --git a/package/Config.in.host b/package/Config.in.host
index 34e84bf..71597bf 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -12,6 +12,7 @@ source "package/omap-u-boot-utils/Config.in.host"
source "package/openocd/Config.in.host"
source "package/parted/Config.in.host"
source "package/sam-ba/Config.in.host"
+source "package/squashfs/Config.in.host"
source "package/sunxi-tools/Config.in.host"
source "package/uboot-tools/Config.in.host"
diff --git a/package/squashfs/Config.in.host b/package/squashfs/Config.in.host
new file mode 100644
index 0000000..b353374
--- /dev/null
+++ b/package/squashfs/Config.in.host
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_SQUASHFS
+ bool "host squashfs"
+ help
+ Tools to generate SquashFS filesystems.
+
+ http://squashfs.sourceforge.net/
--
1.7.1
next reply other threads:[~2014-01-30 13:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-30 13:52 Jeroen De Wachter [this message]
2014-01-31 8:22 ` [Buildroot] [PATCH] Added menu entry to build squashfs host tools separately Thomas Petazzoni
2014-02-02 17:53 ` Arnout Vandecappelle
2014-02-03 7:10 ` Thomas Petazzoni
2014-02-04 23:26 ` Arnout Vandecappelle
2014-02-03 11:26 ` Yann E. MORIN
2014-02-03 18:56 ` Jeroen De Wachter
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=2146187109.45390160.1391089943313.JavaMail.root@telenet.be \
--to=jeroen.de.wachter@telenet.be \
--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