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