From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751513AbaFJJCK (ORCPT ); Tue, 10 Jun 2014 05:02:10 -0400 Received: from cantor2.suse.de ([195.135.220.15]:52821 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751320AbaFJJCH (ORCPT ); Tue, 10 Jun 2014 05:02:07 -0400 Message-ID: <5396C98E.8050501@suse.cz> Date: Tue, 10 Jun 2014 11:02:06 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Randy Dunlap CC: Richard Weinberger , linux-kbuild@vger.kernel.org, LKML , Sam Ravnborg Subject: Re: [PATCH v2 3/5] kbuild: Use relative path for $(objtree) References: <1399639944-20551-1-git-send-email-mmarek@suse.cz> <1399639944-20551-4-git-send-email-mmarek@suse.cz> <538EEA3D.1080105@suse.cz> <538F1B41.3060904@suse.cz> <20140605155614.GA18376@sepie.suse.cz> <539625D1.2090905@infradead.org> <539631CC.9040002@suse.cz> <5396340B.6060804@infradead.org> <20140609223922.GA3409@pobox.suse.cz> <5396479F.6030809@infradead.org> In-Reply-To: <5396479F.6030809@infradead.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2014-06-10 01:47, Randy Dunlap wrote: > sure. I did mkdir /tmp/O then > make ARCH=um SUBARCH=i386 O=/tmp/O defconfig > make ARCH=um SUBARCH=i386 V=1 O=/tmp/O So I tried with the exact same paths and it worked for me: $ mkdir -p /local/lnx/next/linux-next-20140606 $ git archive d4bc590f8716f7dde6b7bca319097ac30a8cb0b4 | tar xf - -C /local/lnx/next/linux-next-20140606/ $ cd /local/lnx/next/linux-next-20140606/ $ make ARCH=um SUBARCH=i386 O=/tmp/O defconfig $ make ARCH=um SUBARCH=i386 V=1 O=/tmp/O and it worked. > make KBUILD_SRC= ARCH=x86 archheaders > make -C /local/lnx/next/linux-next-20140606 O=/tmp/O/. archheaders > make -C /tmp/O \ > KBUILD_SRC=/local/lnx/next/linux-next-20140606 \ > KBUILD_EXTMOD="" -f /local/lnx/next/linux-next-20140606/Makefile \ > archheaders > make -f /local/lnx/next/linux-next-20140606/scripts/Makefile.build obj=arch/x86/syscalls all Here, it should do /bin/sh '/local/lnx/next/linux-next-20140606/arch/x86/syscalls/syscallhdr.sh' '/local/lnx/next/linux-next-20140606/arch/x86/syscalls/syscall_32.tbl' 'arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h' 'i386' '' '' /bin/sh '/local/lnx/next/linux-next-20140606/arch/x86/syscalls/syscallhdr.sh' '/local/lnx/next/linux-next-20140606/arch/x86/syscalls/syscall_64.tbl' 'arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h' 'common,64' '' '' /bin/sh '/local/lnx/next/linux-next-20140606/arch/x86/syscalls/syscallhdr.sh' '/local/lnx/next/linux-next-20140606/arch/x86/syscalls/syscall_64.tbl' 'arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h' 'common,x32' '' '__X32_SYSCALL_BIT' /bin/sh '/local/lnx/next/linux-next-20140606/arch/x86/syscalls/syscalltbl.sh' /local/lnx/next/linux-next-20140606/arch/x86/syscalls/syscall_32.tbl arch/x86/syscalls/../include/generated/asm/syscalls_32.h which is not happening in your case for some reason. Can you please check if you have some stale files in include/generated in the *source* tree? git ls-file -o --directory It could be that there is some include/generated directory from a previous in-tree build. Michal