2006-06-02 Yoshinori K. Okuji <okuji@enbug.org>

* conf/common.rmk (grub_modules_init.lst): Depended on
        grub_emu_SOURCES, excluding grub_emu_init.c, instead of
        MODSRCFILES.

        * genmk.rb (PModule::rule): Reverted the previous change.
This commit is contained in:
okuji 2006-06-02 19:33:58 +00:00
parent cfca1cfd8e
commit b4c1940a25
5 changed files with 10 additions and 53 deletions

View file

@ -96,7 +96,6 @@ class PModule
def rule(sources)
prefix = @name.to_var
sources_str = sources.join(' ')
objs = sources.collect do |src|
raise "unknown source file `#{src}'" if /\.[cS]$/ !~ src
prefix + '-' + src.to_obj
@ -116,7 +115,6 @@ class PModule
ifneq ($(#{prefix}_EXPORTS),no)
CLEANFILES += #{defsym}
DEFSYMFILES += #{defsym}
MODSRCFILES += #{sources_str}
endif
MOSTLYCLEANFILES += #{deps_str}
UNDSYMFILES += #{undsym}