]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Fix removal of the debian/ directory
authorMichal Marek <mmarek@suse.cz>
Wed, 31 Dec 2014 15:29:35 +0000 (16:29 +0100)
committerMichal Marek <mmarek@suse.cz>
Fri, 2 Jan 2015 13:51:27 +0000 (14:51 +0100)
commitab05e5311f513900b8fda2747696c88205b18134
treea5d8fd1a65ba56c1492e39bb4a8548a9fa38df7d
parentc687bb41805a1238a38a086952014d5682516d9d
kbuild: Fix removal of the debian/ directory

scripts/Makefile.clean treats absolute path specially, but
$(objtree)/debian is no longer an absolute path since 5aacbac1 (kbuild:
Use relative path for $(objtree). Work around this by checking if the
path starts with $(objtree)/.

Reported-and-tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Fixes: 5aacbac1 (kbuild: Use relative path for $(objtree)
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/Makefile.clean