Message ID | 20181108195624.25410-1-bp@alien8.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | kbuild/builddeb: Fix building .deb packages out-of-tree | expand |
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 90c9a8ac7adb..149bbbd8e98d 100755 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -81,7 +81,7 @@ else cp System.map "$tmpdir/boot/System.map-$version" cp $KCONFIG_CONFIG "$tmpdir/boot/config-$version" fi -cp "$($MAKE -s image_name)" "$tmpdir/$installed_image_path" +cp "$($MAKE KBUILD_SRC= -s image_name)" "$tmpdir/$installed_image_path" if grep -q "^CONFIG_OF=y" $KCONFIG_CONFIG ; then # Only some architectures with OF support have this target