2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2006-06-23 14:52:33 +08:00
|
|
|
#
|
|
|
|
# hdparm
|
|
|
|
#
|
2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2012-01-27 00:51:28 +08:00
|
|
|
|
2022-10-02 22:33:54 +08:00
|
|
|
HDPARM_VERSION = 9.65
|
2021-07-05 01:26:49 +08:00
|
|
|
HDPARM_SITE = https://downloads.sourceforge.net/project/hdparm/hdparm
|
2012-10-02 15:40:48 +08:00
|
|
|
HDPARM_LICENSE = BSD-Style
|
|
|
|
HDPARM_LICENSE_FILES = LICENSE.TXT
|
2006-06-23 14:52:33 +08:00
|
|
|
|
2010-09-26 15:14:04 +08:00
|
|
|
define HDPARM_BUILD_CMDS
|
|
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
2007-09-24 17:00:39 +08:00
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
2014-06-12 04:46:29 +08:00
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
|
|
STRIP=/bin/true
|
2010-09-26 15:14:04 +08:00
|
|
|
endef
|
2006-06-23 14:52:33 +08:00
|
|
|
|
2010-09-26 15:14:04 +08:00
|
|
|
define HDPARM_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/hdparm $(TARGET_DIR)/sbin/hdparm
|
|
|
|
endef
|
2006-06-23 14:52:33 +08:00
|
|
|
|
2012-07-03 06:07:32 +08:00
|
|
|
$(eval $(generic-package))
|