Blame view

buildroot/buildroot-2016.08.1/package/fio/fio.mk 774 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  ################################################################################
  #
  # fio
  #
  ################################################################################
  
  FIO_VERSION = fio-2.13
  FIO_SITE = git://git.kernel.dk/fio.git
  FIO_LICENSE = GPLv2 + special obligations
  FIO_LICENSE_FILES = COPYING
  
  ifeq ($(BR2_PACKAGE_LIBAIO),y)
  FIO_DEPENDENCIES += libaio
  endif
  
  ifeq ($(BR2_PACKAGE_NUMACTL),y)
  FIO_DEPENDENCIES += numactl
  endif
  
  ifeq ($(BR2_PACKAGE_ZLIB),y)
  FIO_DEPENDENCIES += zlib
  endif
  
  define FIO_CONFIGURE_CMDS
  	(cd $(@D); ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)")
  endef
  
  define FIO_BUILD_CMDS
  	$(MAKE) -C $(@D)
  endef
  
  define FIO_INSTALL_TARGET_CMDS
  	$(INSTALL) -D $(@D)/fio $(TARGET_DIR)/usr/bin/fio
  endef
  
  $(eval $(generic-package))