From: agaffney Date: Thu, 13 Nov 2008 00:28:42 +0000 (-0600) Subject: Unpack fuse source and modify CFLAGS for unionfs-fuse X-Git-Tag: v3.4.10.902~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=599161253221540156fc8c1e34c0754b98d5a826;p=genkernel.git Unpack fuse source and modify CFLAGS for unionfs-fuse --- diff --git a/ChangeLog b/ChangeLog index 9f46111..8237fcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney # Distributed under the GPL v2 + 13 Nov 2008; Andrew Gaffney gen_compile.sh: + Unpack fuse source and modify CFLAGS for unionfs-fuse + 12 Nov 2008; Andrew Gaffney gen_compile.sh, genkernel.conf: Unpack unionfs-fuse with -j diff --git a/gen_compile.sh b/gen_compile.sh index 9931fcb..be6220d 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -562,8 +562,12 @@ compile_unionfs_fuse() { [ ! -d "${UNIONFS_FUSE_DIR}" ] && gen_die "unionfs-fuse directory ${UNIONFS_FUSE_DIR} invalid" cd "${UNIONFS_FUSE_DIR}" + mkdir "fuse_tmp" + cd "fuse_tmp" + tar -zxpf "${FUSE_SRCTAR}" + cd .. print_info 1 'unionfs-fuse: >> Compiling...' - MAKE=${UTILS_MAKE} compile_generic "" "" + CFLAGS="-Ifuse_tmp/${FUSE_DIR}/include" MAKE=${UTILS_MAKE} compile_generic "" "" print_info 1 'unionfs-fuse: >> Copying to cache...' [ -f "${TEMP}/${UNIONFS_FUSE_DIR}/src/unionfs" ] || gen_die 'unionfs binary does not exist!'