Lines 115-121
Link Here
|
115 |
sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile || die |
115 |
sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile || die |
116 |
sed -i "s:__user::g" include/linux/aufs_type.h || die |
116 |
sed -i "s:__user::g" include/linux/aufs_type.h || die |
117 |
|
117 |
|
118 |
cd "${WORKDIR}"/${PN/3}-util |
118 |
cd "${WORKDIR}"/${P}/${PN/3}-util |
119 |
|
119 |
|
120 |
einfo "Using for utils building branch ${util_branch}" |
120 |
einfo "Using for utils building branch ${util_branch}" |
121 |
git checkout -b local-gentoo ${util_branch} || die |
121 |
git checkout -b local-gentoo ${util_branch} || die |
Lines 128-134
Link Here
|
128 |
|
128 |
|
129 |
emake CC=$(tc-getCC) LD=$(tc-getLD) LDFLAGS="$(raw-ldflags)" ARCH=$(tc-arch-kernel) CONFIG_AUFS_FS=m KDIR=${KV_OUT_DIR} |
129 |
emake CC=$(tc-getCC) LD=$(tc-getLD) LDFLAGS="$(raw-ldflags)" ARCH=$(tc-arch-kernel) CONFIG_AUFS_FS=m KDIR=${KV_OUT_DIR} |
130 |
|
130 |
|
131 |
cd "${WORKDIR}"/${PN/3}-util |
131 |
cd "${WORKDIR}"/${P}/${PN/3}-util |
132 |
emake CC=$(tc-getCC) AR=$(tc-getAR) KDIR=${KV_OUT_DIR} C_INCLUDE_PATH="${S}"/include |
132 |
emake CC=$(tc-getCC) AR=$(tc-getAR) KDIR=${KV_OUT_DIR} C_INCLUDE_PATH="${S}"/include |
133 |
} |
133 |
} |
134 |
|
134 |
|
Lines 141-147
Link Here
|
141 |
|
141 |
|
142 |
dodoc Documentation/filesystems/aufs/README |
142 |
dodoc Documentation/filesystems/aufs/README |
143 |
|
143 |
|
144 |
cd "${WORKDIR}"/${PN/3}-util |
144 |
cd "${WORKDIR}"/${P}/${PN/3}-util |
145 |
emake DESTDIR="${D}" KDIR=${KV_OUT_DIR} install |
145 |
emake DESTDIR="${D}" KDIR=${KV_OUT_DIR} install |
146 |
|
146 |
|
147 |
newdoc README README-utils |
147 |
newdoc README README-utils |