Hello Mike,
"mike":
> The patch does not work for me.
>
> I wrote this patch, and it works for me:
Thanx for your patch.
I also updated the patch after exchanging personal mails between
Tommy[D], and he reported it worked.
Please try this one.
Junjiro Okajima
----------------------------------------------------------------------
diff -x CVS -x RCS -x .pdiff -rup ../../sf.anon/aufs/local.mk ./local.mk
--- ../../sf.anon/aufs/local.mk 2007-12-10 10:18:33.000000000 +0900
+++ ./local.mk 2008-01-09 23:37:00.000000000 +0900
@@ -73,7 +73,8 @@ export
# fake top level make
KDIR = /lib/modules/$(shell uname -r)/build
-Tgt = aufs.ko aufs.5 aufind.sh mount.aufs auplink aulchown umount.aufs
+TgtUtil = aufs.5 aufind.sh mount.aufs auplink aulchown umount.aufs
+Tgt = aufs.ko ${TgtUtil}
# the environment variables are not inherited since 2.6.23
MAKE += CONFIG_AUFS=${CONFIG_AUFS} \
@@ -104,27 +105,15 @@ kconfig: fs/aufs/Kconfig
########################################
-clean: ${AufsVars}
+clean:
${MAKE} -C ${KDIR} M=${CURDIR}/fs/aufs $@
${MAKE} -C util $@
- ${RM} ${Tgt} ${AufsVars}
+ ${RM} ${Tgt}
find . -type f \( -name '*~' -o -name '.#*[0-9]' \) | xargs -r ${RM}
-util/aufs.5: FORCE
-util/%:
- ${MAKE} -j1 -C util
-aufind.sh: util/aufind.sh
- ln -s $< $@
-aufs.5: util/aufs.5
- -ln -s $< $@
-mount.aufs: util/mount.aufs
- test -x $< || chmod a+x $<
- ln -s $< $@
-auplink: util/auplink
- -ln -s $< $@
-aulchown: util/aulchown
- -ln -s $< $@
-umount.aufs: util/umount.aufs
- -ln -s $< $@
+build_util:
+ ${MAKE} -C util
+${TgtUtil}: build_util
+ -test -e $@ || ln -s util/$@ $@
-include priv.mk
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace