grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add a new "none" platform that only builds utilities


From: Andrei Borzenkov
Subject: Re: [PATCH] Add a new "none" platform that only builds utilities
Date: Thu, 25 Sep 2014 22:39:17 +0400

В Tue, 23 Sep 2014 12:07:31 +0100
Colin Watson <address@hidden> пишет:

> On Sun, Sep 21, 2014 at 05:58:36PM +0200, Vladimir 'φ-coder/phcoder' 
> Serbinenko wrote:
> > Go ahead.
> 
> Pushed to master, thanks.
> 

Fails to compile.

address@hidden:~/build/grub> ./configure --with-platform=none
...
*******************************************************
GRUB2 will be compiled with following components:
Platform: x86_64-none
With devmapper support: Yes
With memory debugging: No
With disk cache statistics: No
With boot time statistics: No
efiemu runtime: No (only available on i386)
grub-mkfont: Yes
grub-mount: Yes
starfield theme: Yes
With DejaVuSans font from /usr/share/fonts/truetype/DejaVuSans.ttf
With libzfs support: No (need zfs library)
Build-time grub-mkfont: Yes
With unifont from /usr/share/fonts/uni/unifont.pcf.gz
With liblzma from -llzma (support for XZ-compressed mips images)
*******************************************************

address@hidden:~/build/grub> LC_ALL=C LANG=C make
gcc -E -DHAVE_CONFIG_H -I.  -Wall -W -I./include -DGRUB_UTIL=1 
-DGRUB_FILE=\"grub_script.tab.h\" -I. -I. -I. -I. -I./include -I./include 
-I./grub-core/lib/libgcrypt-grub/src/  -I./grub-core/lib/minilzo 
-I./grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H -Wall -W -I./include 
-DGRUB_UTIL=1 -DGRUB_FILE=\"grub_script.tab.h\" -I. -I. -I. -I. -I./include 
-I./include -I./grub-core/lib/libgcrypt-grub/src/  -I./grub-core/gnulib 
-I./grub-core/gnulib  \
  -D'GRUB_MOD_INIT(x)address@hidden@x@' grub_script.tab.h grub_script.yy.h 
grub-core/commands/blocklist.c grub-core/commands/macbless.c 
grub-core/commands/xnu_uuid.c grub-core/commands/testload.c 
grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c 
grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c 
grub-core/disk/mdraid_linux_be.c grub-core/disk/mdraid1x_linux.c 
grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c 
grub-core/font/font.c grub-core/gfxmenu/font.c grub-core/normal/charset.c 
grub-core/video/fb/fbblit.c grub-core/video/fb/fbutil.c 
grub-core/video/fb/fbfill.c grub-core/video/fb/video_fb.c 
grub-core/video/video.c grub-core/video/capture.c grub-core/video/colors.c 
grub-core/unidata.c grub-core/io/bufio.c grub-core/fs/affs.c grub-core/fs/afs.c 
grub-core/fs/bfs.c grub-core/fs/btrfs.c grub-core/fs/cbfs.c 
grub-core/fs/archelp.c grub-core/fs/cpio.c grub-core/fs/cpio_be.c 
grub-core/fs/odc.c grub-core/fs/newc.c grub-core/fs/ext2.c grub-core/fs/fat.c 
grub-core/fs/exfat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c 
grub-core/fs/hfsplus.c grub-core/fs/hfspluscomp.c grub-core/fs/iso9660.c 
grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c 
grub-core/fs/minix3.c grub-core/fs/minix_be.c grub-core/fs/minix2_be.c 
grub-core/fs/minix3_be.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c 
grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/romfs.c 
grub-core/fs/sfs.c grub-core/fs/squash4.c grub-core/fs/tar.c grub-core/fs/udf.c 
grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/ufs_be.c grub-core/fs/xfs.c 
grub-core/fs/zfs/zfscrypt.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfsinfo.c 
grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_lz4.c 
grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c 
grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/LzFind.c 
grub-core/lib/LzmaEnc.c grub-core/lib/crc.c grub-core/lib/adler32.c 
grub-core/lib/crc64.c grub-core/normal/datetime.c grub-core/normal/misc.c 
grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c 
grub-core/partmap/sun.c grub-core/partmap/plan.c grub-core/partmap/dvh.c 
grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/partmap/dfly.c 
grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c 
grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c 
grub-core/io/xzio.c grub-core/io/lzopio.c grub-core/kern/ia64/dl_helper.c 
grub-core/kern/arm/dl_helper.c grub-core/kern/arm64/dl_helper.c 
grub-core/lib/minilzo/minilzo.c grub-core/lib/xzembed/xz_dec_bcj.c 
grub-core/lib/xzembed/xz_dec_lzma2.c grub-core/lib/xzembed/xz_dec_stream.c 
util/misc.c grub-core/kern/command.c grub-core/kern/device.c 
grub-core/kern/disk.c grub-core/lib/disk.c util/getroot.c 
grub-core/osdep/unix/getroot.c grub-core/osdep/getroot.c 
grub-core/osdep/devmapper/getroot.c grub-core/osdep/relpath.c 
grub-core/kern/emu/hostdisk.c grub-core/osdep/devmapper/hostdisk.c 
grub-core/osdep/hostdisk.c grub-core/osdep/unix/hostdisk.c 
grub-core/osdep/exec.c grub-core/osdep/sleep.c grub-core/osdep/password.c 
grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c 
grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c 
grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c 
grub-core/lib/crypto.c grub-core/disk/luks.c grub-core/disk/geli.c 
grub-core/disk/cryptodisk.c grub-core/disk/AFSplitter.c grub-core/lib/pbkdf2.c 
grub-core/commands/extcmd.c grub-core/lib/arg.c grub-core/disk/ldm.c 
grub-core/disk/diskfilter.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c 
grub-core/fs/proc.c > libgrub.pp || (rm -f libgrub.pp; exit 1)
grub-core/commands/blocklist.c:20:21: fatal error: grub/dl.h: No such file or 
directory
 #include <grub/dl.h>
                     ^
compilation terminated.
... etc

Could we avoid removing include/grub? I really expect to be able to do

configure
make distclean
configure

which is hopelessly broken now after platform=none.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]