kumquat-buildroot/package/hdparm/hdparm.mk
Fabrice Fontaine 576a353277 hdparm: bump to version 9.56
- Add hash for license file
- Fix major/minor build failure with glibc 2.28, extract of Changelog:

hdparm-9.55:
 - added #include <sys/sysmacros.h> for major()/minor() macros

Fixes:
 - http://autobuild.buildroot.org/results/57a9b2c5e5bfb638b1c0b84711126fb7f48c80ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-09-14 23:18:13 +02:00

24 lines
617 B
Makefile

################################################################################
#
# hdparm
#
################################################################################
HDPARM_VERSION = 9.56
HDPARM_SITE = http://downloads.sourceforge.net/project/hdparm/hdparm
HDPARM_LICENSE = BSD-Style
HDPARM_LICENSE_FILES = LICENSE.TXT
define HDPARM_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
STRIP=/bin/true
endef
define HDPARM_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/hdparm $(TARGET_DIR)/sbin/hdparm
endef
$(eval $(generic-package))