From patchwork Sat Sep 20 21:48:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 391578 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 58B431400E0 for ; Sun, 21 Sep 2014 07:48:39 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 065C894FF3; Sat, 20 Sep 2014 21:48:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5ohmCY21HxLN; Sat, 20 Sep 2014 21:48:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C5E0894F77; Sat, 20 Sep 2014 21:48:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 99A731BF83A for ; Sat, 20 Sep 2014 21:48:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9413794F77 for ; Sat, 20 Sep 2014 21:48:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D4+mcAW1veSX for ; Sat, 20 Sep 2014 21:48:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by hemlock.osuosl.org (Postfix) with ESMTPS id 6038C94F54 for ; Sat, 20 Sep 2014 21:48:32 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id x12so918723wgg.8 for ; Sat, 20 Sep 2014 14:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=N47TNl2tOEAvogrc4g7CCgjxY452Ovlte5hC+ppb3cU=; b=X1LMsKzEhScVNFK+OWqlKAqS22tIcvsS0zE8cJ+nAxAt7Mgb3t2T7pLJQXQxXVVDP2 sIDeBB4eKknTsIHliW2CDqjDlRgWfHcstCpc4PG56BLikRMwVPHFoBw9ylzE9Ur4GKOb +qcp8vI+ZkU09ZGmFS0OWXZ4t+nF6DbZfMLPFHFqHh7y6pH6ItlCuDhJX1zo9tIiL12D EuBcF5v+hRW1npE2Uz7OEMhbSR1A+/ImFNNumGIxv8ftkZV+JyKhfN3L6ineJ6+/R6uD Pc8YZTTq+LpQ/8IZEaJief4ITx+yw1/bX3Y3BIDcW1hX+qAfY8gmjGBx7UUosOOEaxz7 EeoA== X-Received: by 10.180.105.8 with SMTP id gi8mr5353670wib.46.1411249710882; Sat, 20 Sep 2014 14:48:30 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id u10sm6672714wix.2.2014.09.20.14.48.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 Sep 2014 14:48:30 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 20 Sep 2014 23:48:25 +0200 Message-Id: <1411249705-13968-1-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.9.1 Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH] package/genpart: make it a target package, too 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" 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" --- 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 diff --git a/package/Config.in b/package/Config.in index 73ba86a..f6bf295 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 0000000..8d9ec79 --- /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 c95acaf..e2208b8 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))