Fix dependencies on cygwin.

* gentpl.py: Support variable dependencies. Add $TARGET_OBJ2ELF to
	dependencies when used and defined.
	* grub-core/Makefile.core.def (regexp): Add dependency on libgnulib.a.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-08-22 16:25:10 +02:00
parent bdb5ba47d8
commit 3c7eac445b
3 changed files with 17 additions and 2 deletions

View file

@ -615,6 +615,7 @@ module = {
common = commands/regexp.c;
common = commands/wildcard.c;
ldadd = libgnulib.a;
dependencies = libgnulib.a;
cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
};