copy-builtin: make sure kernel Makefiles don't look in zfs source tree
The icp Makefile was referencing absolute paths to the zfs source tree for include files. The result was that even though the headers get added to the Linux kernel tree, building fails if you move/remove the zfs checkout. Signed-off-by: Michael D Labriola <michael.d.labriola@gmail.com>
This commit is contained in:
parent
3fdfb85850
commit
d7d0752a18
|
@ -42,6 +42,7 @@ for MODULE in "${MODULES[@]}"
|
|||
do
|
||||
sed -i '/obj =/d' "$KERNEL_DIR/fs/zfs/$MODULE/Makefile"
|
||||
sed -i '/src =/d' "$KERNEL_DIR/fs/zfs/$MODULE/Makefile"
|
||||
sed -i "s|-I$PWD/module/|-I\$(srctree)/fs/zfs/|" "$KERNEL_DIR/fs/zfs/$MODULE/Makefile"
|
||||
done
|
||||
|
||||
cat > "$KERNEL_DIR/fs/zfs/Kconfig" <<"EOF"
|
||||
|
|
Loading…
Reference in New Issue