summaryrefslogtreecommitdiff
path: root/package/scsi-spin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/scsi-spin/Makefile')
-rw-r--r--package/scsi-spin/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/scsi-spin/Makefile b/package/scsi-spin/Makefile
index f8a551b9b..a7abd2b9a 100644
--- a/package/scsi-spin/Makefile
+++ b/package/scsi-spin/Makefile
@@ -11,14 +11,18 @@ PKG_DESCR:= Utility to spin down scsi disks
PKG_SECTION:= misc
NO_DISTFILES:= 1
-WRKDIST= ${WRKDIR}/scsi-spin
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SCSI_SPIN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
do-build:
- ${TARGET_CC} ${TARGET_CFLAGS} -o ${WRKBUILD}/scsi-spin files/scsi-spin.c
+ ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/scsi-spin \
+ ${WRKBUILD}/scsi-spin.c
do-install:
${INSTALL_DIR} ${IDIR_SCSI_SPIN}/usr/sbin