From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 989DB69FC for ; Tue, 25 Feb 2014 22:54:12 +0100 (CET) Received: by mail-wg0-f42.google.com with SMTP id x13so950993wgg.13 for ; Tue, 25 Feb 2014 13:55:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=rtctmWVlm+miLu0Q6UFhYlD6FGDDwqrcVNOFIpItXCA=; b=mGWI/AI18IL44ArU94Qb+pgrTfMCs7rrf4V5jklGQKeZIs8BAedJ+zsnLcr186PpT+ 0qXusu/65DCOWZBmqPvUnqdjHfeoKpcoUwApl/odXoYofjwzBDh5UuzMXqcu549aJZV3 JmBgkz4XvW1pjPV0o0IUFvW1vjeUdF6oU6hDQ1dyDINc+wXIyLTVnEgGrYzr3lOBf8Mg 4Y4llQudLSUyAnBbtzNgCNuqSzqNtDy3SZSY0Ug1/PLl1Dh9l9uk1Lb+7KbEJuZJa/ga bOxLjBVhIEkN/1+LaIH0khPyUFLncVWV7G5EdAokJT9KU79IhiWkiLxQF3bOpLT3kc0O GJQQ== X-Gm-Message-State: ALoCoQkh5VZedneMi6b7jdAuE0j3+fBq1LiGcs3gIYWfrM6KzmTvwqlZVgETFmzmFOz7GGx+4VD2 X-Received: by 10.180.25.46 with SMTP id z14mr5063464wif.49.1393365338708; Tue, 25 Feb 2014 13:55:38 -0800 (PST) Received: from x220.localnet (abo-213-55-68.mts.modulonet.fr. [85.68.55.213]) by mx.google.com with ESMTPSA id fo6sm3975775wib.7.2014.02.25.13.55.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Feb 2014 13:55:37 -0800 (PST) From: Thomas Monjalon To: Aaro Koskinen Date: Tue, 25 Feb 2014 22:55:36 +0100 Message-ID: <2031701.DtHZU1GqtL@x220> Organization: 6WIND User-Agent: KMail/4.12.2 (Linux/3.12.9-2-ARCH; KDE/4.12.2; x86_64; ; ) In-Reply-To: <1391791458-17601-1-git-send-email-aaro.koskinen@nsn.com> References: <1391791458-17601-1-git-send-email-aaro.koskinen@nsn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mk: pass CROSS_COMPILE when compiling kernel modules X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2014 21:54:12 -0000 Hi, 07/02/2014 18:44, Aaro Koskinen : > Pass CROSS_COMPILE to the kernel build system when compiling kernel > modules. Although we export CC etc. the top level kernel Makefile will > override the environment. As a result it will end up using wrong tools > if cross-compilation is desired but CROSS_COMPILE is not set. > > Signed-off-by: Aaro Koskinen Could you explain why it's needed ? In a basic test, CC=$(CROSS)gcc in rte.vars.mk seems sufficient. Thanks -- Thomas