1 ################################################################################
5 ################################################################################
7 LIBAIO_VERSION
= 0.3.110
8 LIBAIO_SOURCE
= libaio_
$(LIBAIO_VERSION
).orig.
tar.gz
9 LIBAIO_SITE
= http
://snapshot.debian.org
/archive
/debian
/20141023T043132Z
/pool
/main
/liba
/libaio
10 LIBAIO_INSTALL_STAGING
= YES
11 LIBAIO_LICENSE
= LGPLv2.1
+
12 LIBAIO_LICENSE_FILES
= COPYING
14 LIBAIO_CONFIGURE_OPTS
= $(TARGET_CONFIGURE_OPTS
)
16 ifeq ($(BR2_STATIC_LIBS
),y
)
17 LIBAIO_CONFIGURE_OPTS
+= ENABLE_SHARED
=0
20 # On PowerPC, a weird toolchain issue causes -Os builds to produce
21 # references to hidden symbols, so we're forcing -O2
22 ifeq ($(BR2_powerpc
),y
)
23 LIBAIO_CONFIGURE_OPTS
+= CFLAGS
="$(subst -Os,-O2,$(TARGET_CFLAGS))"
26 define LIBAIO_BUILD_CMDS
27 $(LIBAIO_CONFIGURE_OPTS
) $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
30 define LIBAIO_INSTALL_STAGING_CMDS
31 $(LIBAIO_CONFIGURE_OPTS
) $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(STAGING_DIR
) install
34 define LIBAIO_INSTALL_TARGET_CMDS
35 $(LIBAIO_CONFIGURE_OPTS
) $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) install
38 $(eval
$(generic-package
))