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:
parent
58d080fbb4
commit
38da651643
8 changed files with 299 additions and 288 deletions
2
genmk.rb
2
genmk.rb
|
@ -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}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue