From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72680138334 for ; Sun, 8 Sep 2019 20:40:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BFC7E09A1; Sun, 8 Sep 2019 20:40:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FA31E09A1 for ; Sun, 8 Sep 2019 20:40:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B939534AEA1 for ; Sun, 8 Sep 2019 20:40:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1AB20A8 for ; Sun, 8 Sep 2019 20:40:40 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1567975128.e918cf72c007c47bf37e222448aad3514891aecd.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/smc-sum-driver/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201-r3.ebuild X-VCS-Directories: sys-apps/smc-sum-driver/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: e918cf72c007c47bf37e222448aad3514891aecd X-VCS-Branch: master Date: Sun, 8 Sep 2019 20:40:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 82d127de-f374-4067-beb5-aa19400d9119 X-Archives-Hash: e3f64d51477333f64575bf407fd99ce8 commit: e918cf72c007c47bf37e222448aad3514891aecd Author: Conrad Kostecki kostecki com> AuthorDate: Fri Sep 6 21:20:45 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Sep 8 20:38:48 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e918cf72 sys-apps/smc-sum-driver: use correct kernel for compilation Pass correct options for compiling against the correct kernel version. Closes: https://bugs.gentoo.org/693528 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Conrad Kostecki kostecki.com> Signed-off-by: Thomas Deutschmann gentoo.org> .../smc-sum-driver-1.6.0.20151201-r3.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201-r3.ebuild b/sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201-r3.ebuild new file mode 100644 index 00000000000..d9f03bc988e --- /dev/null +++ b/sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-mod + +MY_DATE="$(ver_cut 4)" +MY_PN="${PN//-/_}" +MY_PV="$(ver_cut 1-3)" +MY_P="${MY_PN/smc_/}_V${MY_PV}" + +DESCRIPTION="Supermicro Update Manager (SUM) kernel module" +HOMEPAGE="https://www.supermicro.com" +SRC_URI="${MY_P}_${MY_DATE}.tar.gz" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="supermicro" +SLOT="0" + +RESTRICT="bindist fetch mirror" + +S="${WORKDIR}"/${MY_P}/Linux + +BUILD_TARGETS="default" +MODULE_NAMES="sum_bios(misc:${S})" + +pkg_nofetch() { + elog "Please contact the Supermicro support at support@supermicro.com," + elog "in order to obtain a copy of ${A}" + elog "and place it in your DISTDIR directory." +} + +src_prepare() { + default + + # Install new Makefile to respect users CFLAGS and LDFLAGS + cp "${FILESDIR}"/makefile Makefile +} + +src_compile() { + BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}" + + linux-mod_src_compile +}