From patchwork Wed May 13 08:38:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huacai Chen X-Patchwork-Id: 11545347 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9C5CD913 for ; Wed, 13 May 2020 08:38:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8522720740 for ; Wed, 13 May 2020 08:38:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A070Bfkd" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732279AbgEMIi1 (ORCPT ); Wed, 13 May 2020 04:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbgEMIi0 (ORCPT ); Wed, 13 May 2020 04:38:26 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DED9DC061A0C for ; Wed, 13 May 2020 01:38:26 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id g11so3317976plp.1 for ; Wed, 13 May 2020 01:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=ZuT5U5K+Jmr1KhFFBa1toAHj13jIhvZlaGlRME/JSPM=; b=A070Bfkd6255zoqrtpNK4WuOYUYunnWTDZkN+k1VrFddyRgUqXNzrQScViG7SJRJkX k24DKjL2AuOE3ziFfO+fq+TXjJftgJCXzqlGf9KqHqxhsLxnhbl+tGhfeB6DyaVlAlnY h1BExUoeEkhF1OsTf3CKlPkhi9VGazNFp6PgZSURpet71A2SebxIshHBNmL5luudqdFo ArJ5ii+YL+cIklGL7UEXwJBoh92C7OG+R4V0YDnIte5mXgQ722a9nNsfI/kF/hEqvZq8 i9EvueUQHWas1QF7JdVyhKYPOYHWtz0o7lxOFiuVmbN+XBdrK4iqsBLUzzm44ehMmSse MOaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=ZuT5U5K+Jmr1KhFFBa1toAHj13jIhvZlaGlRME/JSPM=; b=QYDW9SwOefWp4RjoGY1NVPZ1uWpso1yP+536jAEd/QzIyGp6dMBzxRj+P9HtneEe7G M4whma744Whxs7iVwS6OGHAYXNECnPXfdEYv5BvvqI3iDlgoArkD9jFsfHSA0ZzmYCFn EQmbvvW9KvAs4VFDNiGR2RyhOmJsyF8a7hJ22R2CFoiuXUStkvF2e1WA5D2ZpU79OlVu 6pyWyqRupifmLkvASov0o2MORijqGRs/trjqPnoyblyUm1R1KoFTMW9P8/kYAxyZL1qJ Ok+v8LiUHW4QmwKQEepWfkjirwMhSiheCwpqA5z3kP91ASyMbS29x3ZD25iZzZtFN5YY 9+4w== X-Gm-Message-State: AGi0PuZgJAmlEw9SPXkC1wKGP6sOK0Ut1K0YI/lwF/dWr0FVby7mwdRK kG964eVUIWDr4CLHh7QLW1aHZ8o0IbL9/A== X-Google-Smtp-Source: APiQypIz1Xj3PcAwXFfcloXJ0NkCcoW0dKP6Al9BNVwtw4E833gLJvQ8V0wPUOlCJ2vV0RZEyqNLEA== X-Received: by 2002:a17:902:aa44:: with SMTP id c4mr23351074plr.302.1589359106427; Wed, 13 May 2020 01:38:26 -0700 (PDT) Received: from software.domain.org (28.144.92.34.bc.googleusercontent.com. [34.92.144.28]) by smtp.gmail.com with ESMTPSA id p8sm15228329pjd.10.2020.05.13.01.38.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2020 01:38:25 -0700 (PDT) From: Huacai Chen To: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, Fuxin Zhang , Zhangjin Wu , Huacai Chen , Jiaxun Yang , Huacai Chen Subject: [PATCH 1/2] MIPS: Fix typos in arch/mips/Kbuild.platforms Date: Wed, 13 May 2020 16:38:40 +0800 Message-Id: <1589359121-1572-1-git-send-email-chenhc@lemote.com> X-Mailer: git-send-email 2.7.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Commit 26bff9eb49201aeb ("MIPS: Only include the platform file needed") misspelled "txx9" to "tx99", so fix it. Fixes: 26bff9eb49201aeb ("MIPS: Only include the platform file needed") Signed-off-by: Huacai Chen --- arch/mips/Kbuild.platforms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 5e3f6ed..c7368a8 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms @@ -36,8 +36,8 @@ platform-$(CONFIG_SIBYTE_SB1250) += sibyte/ platform-$(CONFIG_SIBYTE_BCM1x55) += sibyte/ platform-$(CONFIG_SIBYTE_BCM1x80) += sibyte/ platform-$(CONFIG_SNI_RM) += sni/ -platform-$(CONFIG_MACH_TX39XX) += tx99/ -platform-$(CONFIG_MACH_TX49XX) += tx99/ +platform-$(CONFIG_MACH_TX39XX) += txx9/ +platform-$(CONFIG_MACH_TX49XX) += txx9/ platform-$(CONFIG_MACH_VR41XX) += vr41xx/ # include the platform specific files From patchwork Wed May 13 08:38:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huacai Chen X-Patchwork-Id: 11545349 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F0BAA112C for ; Wed, 13 May 2020 08:38:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D976A206D6 for ; Wed, 13 May 2020 08:38:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="q7MlRD+y" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732256AbgEMIiv (ORCPT ); Wed, 13 May 2020 04:38:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbgEMIiv (ORCPT ); Wed, 13 May 2020 04:38:51 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 127EAC061A0C for ; Wed, 13 May 2020 01:38:51 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id f23so6810562pgj.4 for ; Wed, 13 May 2020 01:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=cXSZlzFhngCETl8ZVdHLRoXuCSdL65ParpNBlrGS59o=; b=q7MlRD+y9ZQ03gLpppm8RakRmeyF/oAx9Yqa/1OjJ38OivLtqmSNn8M930v61JZ8wI gHUz1OtAF3lbGoOpuXHYYXtsJvV/dWGP3ZGWG77N2Q+dg+dGjzwrpY8cIysvD8ydRDta y+GapnuljqIvzeoULjkc7W+nZplArg2DLuGwgjmoVrKHCAd8sy1mq3ffFILCZa1olAiK G20LFUvKVyUl3tg8ScPOvHtl7pF/Xf2yQtS2ox5badohMeQur2HcFJZgGsil1IqHJRwk ludAuhM3vl4VefPq39RAWRPau3tg7CdD5htJF6bDGfc4Lo42Iye12efqyeASTKUd6ChZ zj9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=cXSZlzFhngCETl8ZVdHLRoXuCSdL65ParpNBlrGS59o=; b=YKWjeDvvhRfQrZBFLWK8+6z+dsOAIG+A/5dHaiElKRtGz5Cmsvq7ySXTaVja4pJqrB vE4WOnPKUFcMIFq/gkmEJ6igczrPLHfDtd8lzS/m2h83EQ8GjIJuEmJtmQfvnfl9ZUAi FEJOGTW0GWDx0dRgb8s/97SF/4avVehBF0d+UoXC9GXGny2bHQ3PZwuoLacYRVWxDvnG 75rBHPOvRCJNkVKilnlmZ3H23y/iNj7ZCIjf48CjTepicTGqQnvQgcAvHsSq84RPCczX CNXaX+lWvfTHARQ1cpQfU/KLHVpiE8wK8XGwF6bGL3J6jC8POZr98b3iwVpFtm0kOflm FGWw== X-Gm-Message-State: AGi0PuanFXoTY8KZyT389yByGwooOwOSdQaCVkh5wqNNewvDD9jHn8go 5QuTxPHf5rZaiDRU70wNYeA= X-Google-Smtp-Source: APiQypLEQoSqqf5YtizhHhC82UdapTZvsIVYGlSDxQbY1evH0VuxBNXtTZGN/fuohWWvgvWDshfaCQ== X-Received: by 2002:a62:528e:: with SMTP id g136mr26356062pfb.165.1589359130653; Wed, 13 May 2020 01:38:50 -0700 (PDT) Received: from software.domain.org (28.144.92.34.bc.googleusercontent.com. [34.92.144.28]) by smtp.gmail.com with ESMTPSA id p8sm15228329pjd.10.2020.05.13.01.38.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2020 01:38:50 -0700 (PDT) From: Huacai Chen To: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, Fuxin Zhang , Zhangjin Wu , Huacai Chen , Jiaxun Yang , Huacai Chen Subject: [PATCH 2/2] MIPS: Fix "make clean" error due to recent changes Date: Wed, 13 May 2020 16:38:41 +0800 Message-Id: <1589359121-1572-2-git-send-email-chenhc@lemote.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1589359121-1572-1-git-send-email-chenhc@lemote.com> References: <1589359121-1572-1-git-send-email-chenhc@lemote.com> Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Commit 26bff9eb49201aeb ("MIPS: Only include the platformfile needed") moves platform-(CONFIG_XYZ) from arch/mips/xyz/Platform to arch/mips/ Kbuild.platforms. This change causes an error when "make clean": ./scripts/Makefile.clean:15: arch/mips/vr41xx/Makefile: No such file or directory make[3]: *** No rule to make target `arch/mips/vr41xx/Makefile'. Stop. make[2]: *** [arch/mips/vr41xx] Error 2 make[1]: *** [_clean_arch/mips] Error 2 make: *** [sub-make] Error 2 Clean-files are defined in arch/mips/Kbuild: obj- := $(platform-) Due to the movement of platform-(CONFIG_XYZ), "make clean" will enter arch/mips/vr41xx/ whether CONFIG_MACH_VR41XX is defined or not. Because there is no Makefile in arch/mips/vr41xx/, "make clean" fails. I don't know what is the best way to fix it, but it seems like we can avoid this error by changing the obj- definition: obj- := $(platform-y) Fixes: 26bff9eb49201aeb ("MIPS: Only include the platformfile needed") Signed-off-by: Huacai Chen --- arch/mips/Kbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/Kbuild b/arch/mips/Kbuild index a8d5e4f..d5d6ef9 100644 --- a/arch/mips/Kbuild +++ b/arch/mips/Kbuild @@ -12,7 +12,7 @@ obj-y := $(platform-y) # make clean traverses $(obj-) without having included .config, so # everything ends up here -obj- := $(platform-) +obj- := $(platform-y) # mips object files # The object files are linked as core-y files would be linked