On 19.02.2014 23:52, Alexander Couzens wrote:
> Signed-off-by: Alexander Couzens <[email protected]>
> ---
>  package/boot/grub2/Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/boot/grub2/Makefile b/package/boot/grub2/Makefile
> index a17aa38..26a0052 100644
> --- a/package/boot/grub2/Makefile
> +++ b/package/boot/grub2/Makefile
> @@ -47,7 +47,8 @@ CONFIGURE_ARGS += \
>       --target=$(REAL_GNU_TARGET_NAME) \
>       --disable-werror \
>       --disable-nls \
> -     --disable-device-mapper
> +     --disable-device-mapper \
> +     --disable-grub-mkfont
>  
>  HOST_CONFIGURE_ARGS += \
>       --target=$(REAL_GNU_TARGET_NAME) \
> 

Could you please write something about the build error? (Is there a ticket?)

I only got:
util/grub-mkfont.c:42:30: fatal error: freetype/ftsynth.h: No such file or 
directory
 #include <freetype/ftsynth.h>

can be fixed by http://patchwork.openwrt.org/patch/4480/ or the patch from 
grub2 git
that has 2 more fixes elsewhere that I missed 
(commit fd0df6d098b1e6a4f60275c48a3ec88d15ba1fbb)

- another error in another tree on arch:
openwrt/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/i486-openwrt-linux-uclibc/4.6.4/../../../../i486-openwrt-linux-uclibc/bin/ld:
 cannot find -lfreetype
openwrt/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/i486-openwrt-linux-uclibc/4.6.4/../../../../i486-openwrt-linux-uclibc/bin/ld:
 cannot find -lbz2
openwrt/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/i486-openwrt-linux-uclibc/4.6.4/../../../../i486-openwrt-linux-uclibc/bin/ld:
 cannot find -lpng16
collect2: ld returned 1 exit status
Makefile:16782: recipe for target 'grub-mkfont' failed

when I try to build grub2-editenv 
and some failures when creating fonts I think on a different environment.

However there might be some fixes in upstream grub2 git that might fix the 
build completely:

commit 7b780018f5bc2758f916e6b4e0a895b7c27c2262 : Handle grub-pe2elf and 
grub-mkfont for cases when build != host
commit 7c9d0c39af592d1876a5f29ec3a152926a2a8f1c : Fix handling of build-time 
grub-bin2h and grub-mkfont when doing full Canadian cross.

and a some patch on their mailing list for BUILD_LDFLAGS:
https://lists.gnu.org/archive/html/grub-devel/2014-01/msg00044.html



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to