Skip to contentSkip to conversation

package/genpart: make it a target package, too

PATCH New Yann E. MORIN 2 participants 2 messages Sep 20, 2014 – Sep 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/Config.in          | 1 +
 package/genpart/Config.in  | 8 ++++++++
 package/genpart/genpart.mk | 1 +
 3 files changed, 10 insertions(+)
 create mode 100644 package/genpart/Config.in
package/Config.in +1 -0
index 73ba86a..f6bf295 100644
@@ -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"
package/genpart/Config.in new file +8 -0
new file mode 100644
index 0000000..8d9ec79
@@ -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
package/genpart/genpart.mk +1 -0
index c95acaf..e2208b8 100644
@@ -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))
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/genpart: make it a target package, too

Dear Yann E. MORIN,

Quoted 11 lines · Yann E. MORIN

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.

---
 package/Config.in          | 1 +
 package/genpart/Config.in  | 8 ++++++++
 package/genpart/genpart.mk | 1 +
 3 files changed, 10 insertions(+)
 create mode 100644 package/genpart/Config.in

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com