lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (1262B)


      1 # This is free software, licensed under the GNU General Public License v2.
      2 # See /LICENSE for more information.
      3 #
      4 
      5 include $(TOPDIR)/rules.mk
      6 
      7 PKG_NAME:=irqbalance
      8 PKG_VERSION:=1.2.0
      9 PKG_RELEASE:=2
     10 
     11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
     12 PKG_SOURCE_PROTO:=git
     13 PKG_SOURCE_URL:=https://github.com/Irqbalance/irqbalance.git
     14 PKG_SOURCE_VERSION:=0e0dd4cfe5464de2f81eaef504eab7183f1fb030
     15 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
     16 PKG_LICENSE:=GPLv2
     17 
     18 PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
     19 
     20 PKG_FIXUP:=autoreconf
     21 PKG_REMOVE_FILES:=autogen.sh
     22 
     23 PKG_BUILD_PARALLEL:=1
     24 
     25 include $(INCLUDE_DIR)/package.mk
     26 
     27 define Package/irqbalance
     28   SECTION:=utils
     29   CATEGORY:=Utilities
     30   TITLE:=IRQ usage balancing for multi-core systems
     31   URL:=https://github.com/Irqbalance/irqbalance
     32 endef
     33 
     34 define Package/irqbalance/description
     35  The purpose of irqbalance is to distribute hardware interrupts across
     36  processors/cores on a multiprocessor/multicore system in order to
     37  increase performance.
     38 endef
     39 
     40 CONFIGURE_ARGS+= \
     41 	--disable-numa \
     42 	--with-libcap_ng=no \
     43 	--with-systemd=no \
     44 	--without-glib2
     45 
     46 define Package/irqbalance/install
     47 	$(INSTALL_DIR) $(1)/usr/sbin
     48 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/irqbalance $(1)/usr/sbin/
     49 endef
     50 
     51 $(eval $(call BuildPackage,irqbalance))