Skip to content
Commit c6156653 authored by Thayne Harbaugh's avatar Thayne Harbaugh Committed by Masahiro Yamada
Browse files

kbuild: Fix build target deb-pkg: ln: failed to create hard link



The make deb-pkg target calls debian-orig which attempts to either
hard link the source .tar to the build-output location or copy the
source .tar to the build-output location.  The test to determine
whether to ln or cp is incorrectly expanded by Make and consequently
always attempts to ln the source .tar.  This fix corrects the escaping
of '$' so that the test is expanded by the shell rather than by Make
and appropriately selects between ln and cp.

Fixes: b44aa8c9 ("kbuild: deb-pkg: make .orig tarball a hard link if possible")
Signed-off-by: default avatarThayne Harbaugh <thayne@mastodonlabs.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 07d4cc2e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment