[PATCH] kexec: Teach configure to find the strip binary.
Eric W. Biederman
ebiederm at xmission.com
Mon Dec 3 20:11:55 EST 2012
Simon Horman <horms at verge.net.au> writes:
> On Mon, Dec 03, 2012 at 02:25:25PM -0800, Eric W. Biederman wrote:
>>
>> For some reason my version of the Makefile generated by configure
>> included the line STRIP=strp. Rerunning configure from a fresh slate
>> did not regenerate that line so I don't know how it got there. So add
>> the code to Makefile.in and configure.ac to autodetect the strip binary.
>>
>> This is needed so that we can remove from purgatory all of the
>> relocations to sections that are not needed at runtime, by stripping
>> out those sections.
>>
>> Signed-off-by: "Eric W. Biederman" <ebiederm at xmission.com>
>
> Thanks, I removed the last hunk, which seems to be a white-space only
> change to purgatory/arch/x86_64/Makefile, and applied the rest.
Oops. Thanks for cacthing that. I didn't realize I had that change
sitting in my tree.
>> # Don't add sources in i386/ to dist, as i386/Makefile adds them
>> -x86_64_PURGATORY_SRCS += purgatory/arch/i386/entry32-16.S
>> +x86_64_PURGATORY_SRCS += purgatory/arch/i386/entry32-16.S
>> x86_64_PURGATORY_SRCS += purgatory/arch/i386/entry32-16-debug.S
>> x86_64_PURGATORY_SRCS += purgatory/arch/i386/crashdump_backup.c
>> x86_64_PURGATORY_SRCS += purgatory/arch/i386/console-x86.c
Eric
More information about the kexec
mailing list