10e10f128d
[Thomas: - make the package depend on glibc, since it needs execinfo.h - use TARGET_CONFIGURE_OPTS instead of defining manually CC and LD - add hash file - remove useless empty newline. Thanks to Romain Naour for the review!] Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
668 B
Makefile
26 lines
668 B
Makefile
################################################################################
|
|
#
|
|
# librtas
|
|
#
|
|
################################################################################
|
|
|
|
LIBRTAS_VERSION = 1.3.13
|
|
LIBRTAS_SITE = http://downloads.sourceforge.net/project/librtas
|
|
LIBRTAS_LICENSE = Common Public License Version 1.0
|
|
LIBRTAS_LICENSE_FILES = COPYRIGHT
|
|
LIBRTAS_INSTALL_STAGING = YES
|
|
|
|
define LIBRTAS_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define LIBRTAS_INSTALL_STAGING_CMDS
|
|
$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
|
|
endef
|
|
|
|
define LIBRTAS_INSTALL_TARGET_CMDS
|
|
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|