2007-08-29 Robert Millan <rmh@aybabtu.com>

Patch from Simon Peter <dn.tlp@gmx.net>:
	* genmk.rb (Utility): Append $(#{src}_DEPENDENCIES) to #{obj} targets.
	* conf/i386-pc.rmk: Replace grub-probe_DEPENDENCIES with
	util/grub-probe.c_DEPENDENCIES.  Replace grub-setup_DEPENDENCIES with
	util/i386/pc/grub-setup.c_DEPENDENCIES.
	* conf/i386-efi.rmk: Replace grub-probe_DEPENDENCIES with
	util/grub-probe.c_DEPENDENCIES.
	* conf/powerpc-ieee1275.rmk: Likewise.
This commit is contained in:
robertmh 2007-08-29 10:39:42 +00:00
parent 58d080fbb4
commit 38da651643
8 changed files with 299 additions and 288 deletions

View file

@ -198,7 +198,7 @@ MOSTLYCLEANFILES += #{deps_str}
dep = deps[i]
dir = File.dirname(src)
"#{obj}: #{src}
"#{obj}: #{src} $(#{src}_DEPENDENCIES)
$(CC) -I#{dir} -I$(srcdir)/#{dir} $(CPPFLAGS) $(CFLAGS) -DGRUB_UTIL=1 $(#{prefix}_CFLAGS) -MD -c -o $@ $<
-include #{dep}