1844bd8941
gob2 for the target needs both flex on the host (for running the flex program at compile time) and flex on the target (so that it can link against libfl.a). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 lines
497 B
Makefile
19 lines
497 B
Makefile
#############################################################
|
|
#
|
|
# gob2
|
|
#
|
|
#############################################################
|
|
GOB2_VERSION = 2.0.15
|
|
GOB2_SOURCE = gob2-$(GOB2_VERSION).tar.gz
|
|
GOB2_SITE = http://ftp.5z.com/pub/gob/
|
|
|
|
GOB2_DEPENDENCIES = libglib2 flex bison host-pkg-config host-flex
|
|
|
|
HOST_GOB2_DEPENDENCIES = host-libglib2
|
|
|
|
$(eval $(call AUTOTARGETS,package,gob2))
|
|
$(eval $(call AUTOTARGETS,package,gob2,host))
|
|
|
|
# gob2 for the host
|
|
GOB2_HOST_BINARY:=$(HOST_DIR)/usr/bin/gob2
|