From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Jun 2022 08:49:54 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nzYSw-009kb3-2g for lore@lore.pengutronix.de; Fri, 10 Jun 2022 08:49:54 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nzYSt-0008Ux-Kr; Fri, 10 Jun 2022 08:49:51 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzYSW-0007i2-Qq; Fri, 10 Jun 2022 08:49:28 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nzYSX-007WnK-FN; Fri, 10 Jun 2022 08:49:28 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nzYSU-00Br0j-PQ; Fri, 10 Jun 2022 08:49:26 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 10 Jun 2022 08:49:26 +0200 Message-Id: <20220610064926.2825280-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220602122842.26465-2-ada@thorsis.com> References: <20220602122842.26465-2-ada@thorsis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] numactl: Add new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Alexander Dahl Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 921a7eb3f62f4e5b620ebef85d20aeeca0ce71f2. Michael [sent from post-receive hook] On Fri, 10 Jun 2022 08:49:26 +0200, Alexander Dahl wrote: > This is a requirement for recent releases of the kernel's 'rt-tests' > utils. > > Signed-off-by: Alexander Dahl > Message-Id: <20220602122842.26465-2-ada@thorsis.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/numactl.in b/rules/numactl.in > new file mode 100644 > index 000000000000..66e2645f2d08 > --- /dev/null > +++ b/rules/numactl.in > @@ -0,0 +1,18 @@ > +## SECTION=shell_and_console > + > +menuconfig NUMACTL > + tristate > + prompt "numactl " > + help > + NUMA policy support for Linux. > + Consists of a 'numactl' program and a 'libnuma' shared library. > + > +if NUMACTL > + > +config NUMACTL_NUMACTL > + bool > + prompt "numactl" > + help > + Program to run other programs with a specific NUMA policy. > + > +endif > diff --git a/rules/numactl.make b/rules/numactl.make > new file mode 100644 > index 000000000000..6db1c2707fe3 > --- /dev/null > +++ b/rules/numactl.make > @@ -0,0 +1,59 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2022 by Alexander Dahl > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_NUMACTL) += numactl > + > +# > +# Paths and names > +# > +NUMACTL_VERSION := 2.0.14 > +NUMACTL_MD5 := f65f3501a82df8c3ee7cc74dc6a55636 > +NUMACTL := numactl-$(NUMACTL_VERSION) > +NUMACTL_SUFFIX := tar.gz > +NUMACTL_URL := https://github.com/numactl/numactl/releases/download/v$(NUMACTL_VERSION)/$(NUMACTL).$(NUMACTL_SUFFIX) > +NUMACTL_SOURCE := $(SRCDIR)/$(NUMACTL).$(NUMACTL_SUFFIX) > +NUMACTL_DIR := $(BUILDDIR)/$(NUMACTL) > +NUMACTL_LICENSE := LGPL-2.1 AND GPL-2.0 > +NUMACTL_LICENSE_FILES := \ > + file://README.md;startline=25;endline=47;md5=0ca89e009b5e838824a114916c20e382 \ > + file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ > + file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +NUMACTL_CONF_TOOL := autoconf > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/numactl.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, numactl) > + @$(call install_fixup, numactl,PRIORITY,optional) > + @$(call install_fixup, numactl,SECTION,base) > + @$(call install_fixup, numactl,AUTHOR,"Alexander Dahl ") > + @$(call install_fixup, numactl,DESCRIPTION,missing) > + > +ifdef PTXCONF_NUMACTL_NUMACTL > + @$(call install_copy, numactl, 0, 0, 0755, -, /usr/bin/numactl) > +endif > + > + @$(call install_lib, numactl, 0, 0, 0644, libnuma) > + > + @$(call install_finish, numactl) > + > + @$(call touch) > + > +# vim: ft=make noet tw=72 ts=8 sw=8