![Bernd Kuhls](/assets/img/avatar_default.png)
Added sha256 hash. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
617 B
Makefile
24 lines
617 B
Makefile
################################################################################
|
|
#
|
|
# hdparm
|
|
#
|
|
################################################################################
|
|
|
|
HDPARM_VERSION = 9.52
|
|
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))
|