aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragaffney <agaffney@kagome.(none)>2008-11-12 18:28:42 -0600
committeragaffney <agaffney@kagome.(none)>2008-11-12 18:28:42 -0600
commit599161253221540156fc8c1e34c0754b98d5a826 (patch)
treeeb1efee6a14ef960a54e352ced3cc0b1edaf966b /gen_compile.sh
parentUnpack unionfs-fuse with -j (diff)
downloadgenkernel-599161253221540156fc8c1e34c0754b98d5a826.tar.gz
genkernel-599161253221540156fc8c1e34c0754b98d5a826.tar.bz2
genkernel-599161253221540156fc8c1e34c0754b98d5a826.zip
Unpack fuse source and modify CFLAGS for unionfs-fuse
Diffstat (limited to 'gen_compile.sh')
-rw-r--r--gen_compile.sh6
1 files changed, 5 insertions, 1 deletions
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!'