summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-09-20 23:48:25 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-21 21:16:28 +0200
commit9ca8f613e5d112f6abb6f001c71cb3a592f9d836 (patch)
tree92fbf7e51c3f6c5fa15ae1f1b3bc7bd5972e127e
parent3e506a980da3649947dd06721b0ed7f6c378c7e6 (diff)
downloadbuildroot-9ca8f613e5d112f6abb6f001c71cb3a592f9d836.tar.gz
buildroot-9ca8f613e5d112f6abb6f001c71cb3a592f9d836.zip
package/genpart: make it a target package, too
genpart comes handy when there is a need to programatically generate partition tables, without the need for a full partitioning program like fdisk et al. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/genpart/Config.in8
-rw-r--r--package/genpart/genpart.mk1
3 files changed, 10 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index b10225b384..39a5c6f860 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -150,6 +150,7 @@ menu "Filesystem and flash utilities"
source "package/f2fs-tools/Config.in"
source "package/flashbench/Config.in"
source "package/genext2fs/Config.in"
+ source "package/genpart/Config.in"
source "package/genromfs/Config.in"
source "package/kobs-ng/Config.in"
source "package/makedevs/Config.in"
diff --git a/package/genpart/Config.in b/package/genpart/Config.in
new file mode 100644
index 0000000000..8d9ec795c9
--- /dev/null
+++ b/package/genpart/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_GENPART
+ bool "genpart"
+ help
+ Generate a 16 byte partition table entry defined by command line
+ arguments and dump it to stdout. No CHS magic is done, only lba
+ entries are filled out.
+
+ http://www.pengutronix.de/software/genpart/index_en.html
diff --git a/package/genpart/genpart.mk b/package/genpart/genpart.mk
index c95acaf1b3..e2208b83d0 100644
--- a/package/genpart/genpart.mk
+++ b/package/genpart/genpart.mk
@@ -15,4 +15,5 @@ GENPART_SITE = http://www.pengutronix.de/software/genpart/download
# So, until the authors have clarified the licensing terms:
GENPART_LICENSE = Unknown (clarification has been asked to the authors)
+$(eval $(autotools-package))
$(eval $(host-autotools-package))
OpenPOWER on IntegriCloud