From patchwork Fri May 27 18:14:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Greear X-Patchwork-Id: 627319 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rGZ263lj0z9sBX for ; Sat, 28 May 2016 04:15:42 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b6MI0-0000cm-Ur; Fri, 27 May 2016 18:15:16 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b6MHz-0000cc-7t for lede-dev@bombadil.infradead.org; Fri, 27 May 2016 18:15:15 +0000 Received: from mail2.candelatech.com ([208.74.158.173]) by merlin.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1b6MHt-0002o5-9K for lede-dev@lists.infradead.org; Fri, 27 May 2016 18:15:13 +0000 Received: from ben-dt3.candelatech.com (firewall.candelatech.com [50.251.239.81]) by mail2.candelatech.com (Postfix) with ESMTP id ACAB440A539; Fri, 27 May 2016 11:14:28 -0700 (PDT) From: greearb@candelatech.com To: lede-dev@lists.infradead.org Date: Fri, 27 May 2016 11:14:17 -0700 Message-Id: <1464372857-7234-2-git-send-email-greearb@candelatech.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1464372857-7234-1-git-send-email-greearb@candelatech.com> References: <1464372857-7234-1-git-send-email-greearb@candelatech.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160527_141509_458773_B6B62F13 X-CRM114-Status: GOOD ( 11.49 ) X-Spam-Score: -3.3 (---) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-3.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -1.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH-v2 2/2] Add script to build common platforms. X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ben Greear MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Ben Greear The idea is to be able to allow newbies to easily build images for common hardware. These images should be user-friendly, including luci and other tools that may aid debugging and use of the platform. Includes example that builds x86-64 with additional drivers and luci so that it works nicely on apu2 and other generic hardware. Signed-off-by: Ben Greear --- buildme.sh | 76 +++++++++++++++++++++++++++++++++++ buildme_targets/x86_64/diffconfig.txt | 50 +++++++++++++++++++++++ 2 files changed, 126 insertions(+) create mode 100755 buildme.sh create mode 100644 buildme_targets/x86_64/diffconfig.txt diff --git a/buildme.sh b/buildme.sh new file mode 100755 index 0000000..83644fa --- /dev/null +++ b/buildme.sh @@ -0,0 +1,76 @@ +#!/usr/bin/env bash + +USAGE=$( cat < /dev/null 2>&1 +echo "Images may be found at: bin/targets/$CONFIG_TARGET_BOARD/$CONFIG_TARGET_SUBTARGET/" diff --git a/buildme_targets/x86_64/diffconfig.txt b/buildme_targets/x86_64/diffconfig.txt new file mode 100644 index 0000000..923b35e --- /dev/null +++ b/buildme_targets/x86_64/diffconfig.txt @@ -0,0 +1,50 @@ +CONFIG_TARGET_x86=y +CONFIG_TARGET_x86_64=y +CONFIG_TARGET_x86_64_Generic=y +CONFIG_ALL_NONSHARED=y +CONFIG_BUSYBOX_CUSTOM=y +CONFIG_BUSYBOX_CONFIG_ARP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE=y +CONFIG_BUSYBOX_CONFIG_LSPCI=y +CONFIG_BUSYBOX_CONFIG_LSUSB=y +CONFIG_BUSYBOX_CONFIG_MORE=y +CONFIG_BUSYBOX_CONFIG_TELNET=y +CONFIG_ETHTOOL_PRETTY_DUMP=y +CONFIG_IMAGEOPT=y +CONFIG_PACKAGE_hostapd-common-old=y +CONFIG_PACKAGE_hostapd-utils=y +CONFIG_PACKAGE_kmod-hwmon-core=y +CONFIG_PACKAGE_iperf=y +CONFIG_PACKAGE_kmod-ath5k=m +CONFIG_PACKAGE_kmod-i2c-algo-bit=y +CONFIG_PACKAGE_kmod-i2c-core=y +CONFIG_PACKAGE_kmod-igb=y +CONFIG_PACKAGE_kmod-libphy=y +CONFIG_PACKAGE_kmod-skge=y +CONFIG_PACKAGE_kmod-sky2=y +CONFIG_PACKAGE_kmod-tg3=y +CONFIG_PACKAGE_libiwinfo=y +CONFIG_PACKAGE_libiwinfo-lua=y +CONFIG_PACKAGE_liblua=y +CONFIG_PACKAGE_libubus-lua=y +CONFIG_PACKAGE_libuci-lua=y +CONFIG_PACKAGE_lua=y +CONFIG_PACKAGE_luci=y +CONFIG_PACKAGE_luci-app-firewall=y +CONFIG_PACKAGE_luci-base=y +CONFIG_PACKAGE_luci-lib-ip=y +CONFIG_PACKAGE_luci-lib-jsonc=y +CONFIG_PACKAGE_luci-lib-nixio=y +CONFIG_PACKAGE_luci-mod-admin-full=y +CONFIG_PACKAGE_luci-proto-ipv6=y +CONFIG_PACKAGE_luci-proto-ppp=y +CONFIG_PACKAGE_luci-theme-bootstrap=y +CONFIG_PACKAGE_rpcd=y +CONFIG_PACKAGE_uclibcxx=y +CONFIG_PACKAGE_uhttpd=y +CONFIG_PACKAGE_uhttpd-mod-ubus=y +CONFIG_PACKAGE_zlib=y +# CONFIG_PER_FEED_REPO is not set +CONFIG_TARGET_KERNEL_PARTSIZE=64 +CONFIG_TARGET_ROOTFS_PARTSIZE=1024