[Top] [All Lists]

Re: [PATCH] allow CROSS_COMPILE override

To: Daniel Jacobowitz <>
Subject: Re: [PATCH] allow CROSS_COMPILE override
From: Brian Murphy <>
Date: Thu, 20 Feb 2003 23:06:54 +0100
Original-recipient: rfc822;
References: <> <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
Daniel Jacobowitz wrote:

Silly question: why does this matter if CROSS_COMPILE is on the command
line?  Command line definitions override anything in the makefile.  Is
it falling off the command line in a recursive make?
You need ?= to allow the define in the top level makefile to override that in
the sub-makefile. You also need it if you want to get the value from an
environment variable and not from something like this:


which is the only case where it works now.


<Prev in Thread] Current Thread [Next in Thread>