~ubuntu-branches/ubuntu/wily/grub2/wily-proposed

« back to all changes in this revision

Viewing changes to conf/common.rmk

  • Committer: Bazaar Package Importer
  • Author(s): Felix Zielcke, Robert Millan, Felix Zielcke
  • Date: 2010-01-26 19:26:25 UTC
  • mfrom: (1.13.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100126192625-coq6czap2ofjollf
Tags: 1.98~20100126-1
* New Bazaar snapshot.
  - Includes mipsel-yeeloong port.

[ Robert Millan ]
* config.in: Lower priority of grub2/linux_cmdline_default.

[ Felix Zielcke ]
* Drop `CFLAGS=-O0' workaround on powerpc. Should be fixed correctly now.
* Ship grub-bin2h and grub-script-check in grub-common.
* Terminate NEWS.Debian with a blank line like lintian would suggest
  if that check would be working correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
bin_UTILITIES += grub-mkrelpath
89
89
grub_mkrelpath_SOURCES = gnulib/progname.c util/grub-mkrelpath.c util/misc.c
90
90
 
 
91
bin_UTILITIES += grub-bin2h
 
92
grub_bin2h_SOURCES = gnulib/progname.c util/bin2h.c
 
93
 
 
94
# For grub-script-check.
 
95
bin_UTILITIES += grub-script-check
 
96
util/grub-script-check.c_DEPENDENCIES = grub_script_check_init.h
 
97
grub_script_check_SOURCES = gnulib/progname.c util/grub-script-check.c util/misc.c \
 
98
        script/main.c script/script.c script/function.c script/lexer.c \
 
99
        kern/handler.c kern/err.c kern/parser.c kern/list.c \
 
100
        kern/misc.c kern/env.c grub_script_check_init.c grub_script.tab.c
 
101
 
91
102
# For the parser.
92
103
grub_script.tab.c grub_script.tab.h: script/parser.y
93
104
        $(YACC) -d -p grub_script_yy -b grub_script $(srcdir)/script/parser.y
94
105
DISTCLEANFILES += grub_script.tab.c grub_script.tab.h
95
106
 
 
107
# For grub-script-check.
 
108
grub_script_check_init.lst: geninit.sh $(filter-out grub_script_check_init.c,$(grub_script_check_SOURCES))
 
109
        rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
 
110
DISTCLEANFILES += grub_script_check_init.lst
 
111
 
 
112
grub_script_check_init.h: grub_script_check_init.lst $(filter-out grub_script_check_init.c,$(grub_script_check_SOURCES)) geninitheader.sh
 
113
        rm -f $@; sh $(srcdir)/geninitheader.sh $< > $@
 
114
DISTCLEANFILES += grub_script_check_init.h
 
115
 
 
116
grub_script_check_init.c: grub_script_check_init.lst $(filter-out grub_script_check_init.c,$(grub_script_check_SOURCES)) geninit.sh
 
117
        rm -f $@; sh $(srcdir)/geninit.sh $< $(filter %.c,$^) > $@
 
118
DISTCLEANFILES += grub_script_check_init.c
 
119
 
96
120
# For grub-probe.
97
121
grub_probe_init.lst: geninit.sh $(filter-out grub_probe_init.c,$(grub_probe_SOURCES))
98
122
        rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
564
588
        normal/auth.c normal/autofs.c normal/handler.c \
565
589
        normal/color.c normal/completion.c normal/datetime.c normal/menu.c \
566
590
        normal/menu_entry.c normal/menu_text.c \
567
 
        normal/misc.c normal/crypto.c normal/term.c
 
591
        normal/misc.c normal/crypto.c normal/term.c normal/context.c
568
592
normal_mod_CFLAGS = $(COMMON_CFLAGS)
569
593
normal_mod_LDFLAGS = $(COMMON_LDFLAGS)
570
594
 
576
600
 
577
601
# Common Video Subsystem specific modules.
578
602
pkglib_MODULES += video.mod videotest.mod bitmap.mod tga.mod jpeg.mod   \
579
 
        png.mod font.mod gfxterm.mod video_fb.mod
 
603
        png.mod gfxterm.mod video_fb.mod
580
604
 
581
605
# For video.mod.
582
606
video_mod_SOURCES = video/video.c
613
637
png_mod_CFLAGS = $(COMMON_CFLAGS)
614
638
png_mod_LDFLAGS = $(COMMON_LDFLAGS)
615
639
 
616
 
# For font.mod.
 
640
pkglib_MODULES += font.mod
 
641
ifneq (, $(FONT_SOURCE))
 
642
font/font.c_DEPENDENCIES = ascii.h
 
643
endif
617
644
font_mod_SOURCES = font/font_cmd.c font/font.c
618
645
font_mod_CFLAGS = $(COMMON_CFLAGS)
619
646
font_mod_LDFLAGS = $(COMMON_LDFLAGS)