From patchwork Thu Mar 7 22:39:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 225990 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 1BFAD2C03A1 for ; Fri, 8 Mar 2013 09:39:26 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EAAE3312EF; Thu, 7 Mar 2013 22:39:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mXqVm1rRIyCq; Thu, 7 Mar 2013 22:39:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A7D7730F9C; Thu, 7 Mar 2013 22:39:23 +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 248458F753 for ; Thu, 7 Mar 2013 22:39:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 985E6A01CF for ; Thu, 7 Mar 2013 22:39:23 +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 PXKZ5259DQKH for ; Thu, 7 Mar 2013 22:39:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com [74.125.83.48]) by hemlock.osuosl.org (Postfix) with ESMTPS id 1131EA01BC for ; Thu, 7 Mar 2013 22:39:21 +0000 (UTC) Received: by mail-ee0-f48.google.com with SMTP id t10so734683eei.21 for ; Thu, 07 Mar 2013 14:39:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=aH67Xrt0FCA1n/ef/ARs4NqsguFCbw5hgbToahn0KO4=; b=Eiue+8Om+c4J2yvWP6GKfv4b3q87v2XTCIw9go7UBEaWGjZZPmHS8COdtvkgwyI91U o0oh9+4PBmCEM98a/RcP9PrOFzzCYSW93BBI/c1hMfvy9wwdES/ZuMCejpT4Ugo19l0+ zVNyqcLr/2/KwE7rLMoCeqCEYoQJ7yHmSSYvHzBh7EsdW81kmMvLbaKkoZDAYEo9hREN 1gBhWaOAgPsyrLVjFgrPryZhJfyeKYI1sxs7gyiwk0xNqGo5HNUMggabxx6JHv+h8c8f 3s4xW+vVgDW36Ngy7GHoTLqk4eYl6wKKzLGj15tuZ0Bz7kigTsyP2TlCA6cVX/bIDzuh fqpQ== X-Received: by 10.14.173.196 with SMTP id v44mr97751337eel.29.1362695959171; Thu, 07 Mar 2013 14:39:19 -0800 (PST) Received: from macbook.fastwebnet.it (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by mx.google.com with ESMTPS id h5sm4471656eem.1.2013.03.07.14.39.17 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Mar 2013 14:39:18 -0800 (PST) From: Carlo Caione To: buildroot@uclibc.org Date: Thu, 7 Mar 2013 23:39:22 +0100 Message-Id: <1362695964-20697-1-git-send-email-carlo.caione@gmail.com> X-Mailer: git-send-email 1.8.1.5 Subject: [Buildroot] [PATCH 1/3] sunxi-tools: new host package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Tools to help hacking Allwinner A10 (aka sun4i) based devices Signed-off-by: Carlo Caione --- package/Config.in.host | 1 + package/sunxi-tools/Config.in.host | 7 +++++++ package/sunxi-tools/sunxi-tools.mk | 20 ++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/sunxi-tools/Config.in.host create mode 100644 package/sunxi-tools/sunxi-tools.mk diff --git a/package/Config.in.host b/package/Config.in.host index 79050f2..b2b9fbd 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -5,6 +5,7 @@ source "package/lpc3250loader/Config.in.host" source "package/omap-u-boot-utils/Config.in.host" source "package/openocd/Config.in.host" source "package/sam-ba/Config.in.host" +source "package/sunxi-tools/Config.in.host" source "package/uboot-tools/Config.in.host" endmenu diff --git a/package/sunxi-tools/Config.in.host b/package/sunxi-tools/Config.in.host new file mode 100644 index 0000000..71e0418 --- /dev/null +++ b/package/sunxi-tools/Config.in.host @@ -0,0 +1,7 @@ +config BR2_PACKAGE_HOST_SUNXI_TOOLS + bool "host sunxi-tools" + help + Tools to help hacking Allwinner A10 (aka sun4i) based devices and + possibly it's successors + + https://github.com/linux-sunxi/sunxi-tools diff --git a/package/sunxi-tools/sunxi-tools.mk b/package/sunxi-tools/sunxi-tools.mk new file mode 100644 index 0000000..60acff5 --- /dev/null +++ b/package/sunxi-tools/sunxi-tools.mk @@ -0,0 +1,20 @@ +############################################################# +# +# sunxi-tools +# +############################################################# + +SUNXI_TOOLS_VERSION = master +SUNXI_TOOLS_SITE = git://github.com/linux-sunxi/sunxi-tools.git + +define HOST_SUNXI_TOOLS_BUILD_CMDS + $(MAKE) -C $(@D) +endef + +define HOST_SUNXI_TOOLS_INSTALL_CMDS + for f in fexc bin2fex fex2bin bootinfo fel pio nand-part ; do \ + install -m 755 -D $(@D)/$$f $(HOST_DIR)/usr/bin/$$f ; \ + done +endef + +$(eval $(host-generic-package))