25 #
26 # OPTION_DOCS:
27 # Build and install some GRUB documentations, e.g. man and info files.
28 # NOTE: these docs will be installed in
29 # /platform/$(PLATFORM)/boot/grub, not /boot/grub.
30 #
31 # OPTION_FS:
32 # Build additional filesystem support into GRUB. This will increase
33 # the sizes of stage2 and pxegrub and may cause malfunction.
34 #
35 # STAGE2_NETBOOT:
36 # Include netboot support in stage2 (on by default).
37 # This only affects stage2, not pxegrub (diskless support).
38 #
39 # STAGE2_NETBOOT = $(POUND_SIGN)
40 OPTION_UTILS = $(POUND_SIGN)
41 OPTION_DOCS = $(POUND_SIGN)
42 OPTION_FS = $(POUND_SIGN)
43
44
45 BASE_CFLAGS = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS)
46 BASE_CCASFLAGS = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS)
47 BASE_LDFLAGS =
48
49 CC = $(GCC_ROOT)/bin/gcc
50 CFLAGS = $(BASE_CFLAGS)
51 CCDEPMODE = depmode=none
52
53 CCAS = $(CC)
54 CCASFLAGS = $(BASE_CCASFLAGS)
55
56 CPP = $(CC) -E
57
58 # $(ENVCPPFLAGS4), if defined, should be something like "-Y I,somepath".
59 # We want to get rid of the "-Y I," part but make's pattern replacement
60 # macro reference doesn't allow spaces in it, e.g. $(ENVCPPFLAGS4:-Y I,%=%).
61 # So we'll get rid of the "-Y" now and then the "I," later. By the way, this
62 # should also work in case $(ENVCPPFLAGS4) is "-YI,somepath" (no space).
63 t.ENVCPPFLAGS4 = $(ENVCPPFLAGS4:-Y%=%)
64
65 CPPFLAGS = $(DEFS) $(INCLUDES) $(WARNFLAGS) \
|
25 #
26 # OPTION_DOCS:
27 # Build and install some GRUB documentations, e.g. man and info files.
28 # NOTE: these docs will be installed in
29 # /platform/$(PLATFORM)/boot/grub, not /boot/grub.
30 #
31 # OPTION_FS:
32 # Build additional filesystem support into GRUB. This will increase
33 # the sizes of stage2 and pxegrub and may cause malfunction.
34 #
35 # STAGE2_NETBOOT:
36 # Include netboot support in stage2 (on by default).
37 # This only affects stage2, not pxegrub (diskless support).
38 #
39 # STAGE2_NETBOOT = $(POUND_SIGN)
40 OPTION_UTILS = $(POUND_SIGN)
41 OPTION_DOCS = $(POUND_SIGN)
42 OPTION_FS = $(POUND_SIGN)
43
44
45 BASE_CFLAGS = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS) -std=gnu89
46 BASE_CCASFLAGS = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS)
47 BASE_LDFLAGS =
48
49 CC = $(GCC_ROOT)/bin/gcc
50 CFLAGS = $(BASE_CFLAGS)
51 CCDEPMODE = depmode=none
52
53 CCAS = $(CC)
54 CCASFLAGS = $(BASE_CCASFLAGS)
55
56 CPP = $(CC) -E
57
58 # $(ENVCPPFLAGS4), if defined, should be something like "-Y I,somepath".
59 # We want to get rid of the "-Y I," part but make's pattern replacement
60 # macro reference doesn't allow spaces in it, e.g. $(ENVCPPFLAGS4:-Y I,%=%).
61 # So we'll get rid of the "-Y" now and then the "I," later. By the way, this
62 # should also work in case $(ENVCPPFLAGS4) is "-YI,somepath" (no space).
63 t.ENVCPPFLAGS4 = $(ENVCPPFLAGS4:-Y%=%)
64
65 CPPFLAGS = $(DEFS) $(INCLUDES) $(WARNFLAGS) \
|