|
@@ -15,15 +15,6 @@ FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4
|
|
# we don't have a host-gettext/libintl
|
|
# we don't have a host-gettext/libintl
|
|
HOST_FLEX_DEPENDENCIES = host-m4
|
|
HOST_FLEX_DEPENDENCIES = host-m4
|
|
|
|
|
|
-ifeq ($(BR2_PACKAGE_FLEX_BINARY),y)
|
|
|
|
-# lex -> flex
|
|
|
|
-define FLEX_INSTALL_LEX
|
|
|
|
- cd $(TARGET_DIR)/usr/bin && ln -snf flex lex
|
|
|
|
-endef
|
|
|
|
-FLEX_POST_INSTALL_HOOKS += FLEX_INSTALL_LEX
|
|
|
|
-
|
|
|
|
-else
|
|
|
|
-
|
|
|
|
define FLEX_DISABLE_PROGRAM
|
|
define FLEX_DISABLE_PROGRAM
|
|
$(SED) 's/^bin_PROGRAMS.*//' $(@D)/Makefile.in
|
|
$(SED) 's/^bin_PROGRAMS.*//' $(@D)/Makefile.in
|
|
endef
|
|
endef
|
|
@@ -35,7 +26,5 @@ define FLEX_REMOVE_BROKEN_SYMLINK
|
|
endef
|
|
endef
|
|
FLEX_POST_INSTALL_TARGET_HOOKS += FLEX_REMOVE_BROKEN_SYMLINK
|
|
FLEX_POST_INSTALL_TARGET_HOOKS += FLEX_REMOVE_BROKEN_SYMLINK
|
|
|
|
|
|
-endif
|
|
|
|
-
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|
|
$(eval $(host-autotools-package))
|