From patchwork Fri Aug 26 09:51:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henning Schild X-Patchwork-Id: 2096 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 26 Aug 2022 19:51:46 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-oo1-f64.google.com (mail-oo1-f64.google.com [209.85.161.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 27QHpiYC007627 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 26 Aug 2022 19:51:45 +0200 Received: by mail-oo1-f64.google.com with SMTP id g27-20020a4a251b000000b0044b32b51634sf1060581ooa.1 for ; Fri, 26 Aug 2022 10:51:45 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1661536299; cv=pass; d=google.com; s=arc-20160816; b=s41bOpEd6awfZBCBH/zzggZ1BycYSs1HzAIe4XZqf1IsIB8CjDBHMb5R4mzl7fHZ/k qyjkQZdR1CAmYeWomaOT9B1iCdXqc2nd1wn9p5S9NRI1M1amkJLN/c5zDq/j6RSrrtQX NyGuv6Mpd9EnKq7octSXpuBq5mFXUGAVoU/0I2yx9BQKKbiNJNce6wbFZNJQZSl0eznu Pfl39DSOnKWRgmHhdqCN36RwSSdFIK32WGxlRAbpbv2e1eCua6jZe3dlM8wYMsazUwMh NIdRjesUJFYinNCwQbwYbqMNUQKHBjab/1AHmama/4geWsepBa/5Wzl4i4FRZtaUqrg0 wsVw== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=oSBOO8nCKXkZ83I/3gpuI+JqmzADZO/GS/FgwdsUoc4=; b=RYHiKXWEHGFN/H4U78A9QBM3jznF5m3ha9nvsBNKTwEvMjmlBHfo+UYy55fdWteJZl H4rG8cCoZBbdTLG7x2UQ2YCF0iiez++Su2s642hFvk+94Nlc9o2XPgi4SH6B1+a9+VT7 5Y1Izq9VxcMokVM2/y11CLXNLLDECTF2QvQcy3gbwMMMW8gE96pVyBHRxsKgPA/8LcNK NrTOOk9SRhB2LiXRRcj+oGcr92qzs5QDdTe6YpmmuS1Ox0D5TrtazSS6wjEIN49Qfw1S WQUV5EZJfEqYXqAHec1BYZjvtNVWWChq5taiqwO2Xo9V+E4GsoNEvCBqtisZ26NRTRr0 /3GQ== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=aKhsrKd8; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.7.47 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc; bh=oSBOO8nCKXkZ83I/3gpuI+JqmzADZO/GS/FgwdsUoc4=; b=ay/VJhmiPlktXguo0uepouyKErFUMxGYUmsoQbOK5dfDtk59XlCUzXu0UT3Zv4dLnu 2jekSAK3ufUm6Z4fnjVfmG84j9XMnUHLV5d4RuqWJGvCZx1SllBy0CrUW64UV03ErSJq xLnj43yos55cewCqHvvgwAgZ30Ss72F2/ZFPPWYpiiM21S2TGtgvoXUz8hKnkA5OADck yQqnyCeAVrvGtR0zguL8SUTMJhD2vSktVlFsGLpJAKkpebuKMPx/fVoFVTmEb5lZHys0 R93z2H3MUDe4FLG7TVz/bnBwl2GcEE/V6o05yngEmcvPZY2VkvysxikW7VZbSty8GkuP jMuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:sender:from :to:cc; bh=oSBOO8nCKXkZ83I/3gpuI+JqmzADZO/GS/FgwdsUoc4=; b=z7Jg/ZiVO6WWuQl7QytF4AKni1n7gUU2CvC7IIrMfjh7Z3aA1Tk6KwEQJCnQbfDIu7 XVhSe2htEUdUs2jWHBlZz1+KhA0CqFhHRrM2V3nKGi7LqmfNXMgCJTO9+SJn7zP5mz22 /ipDUaIgT0yvpqWCIwxhkM+rp/gWd7JZNmyS/ffLX+MhgxyX9maQtRCB9jAu+zZFCDT7 +4EmoAZnH+DWVcg9efOnTwiyQsV8OfoK2cQcE8zoS5mFA0ELvZAXb/Lug4T1tC8Apurz WU0tmGJxXF3mH7yUCev/ShbhBafqzntLisvoJNrsgRkYIO12T44vsvy/L5TbBCmI/7tH v4gQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: ACgBeo0Ib/x6S/9ZAui6QpgQGGYSLmDk6C4pB8PnBrKNhW0JjXm1OxMA fNzcjKCT5O2ZKbl90bMEZ/k= X-Google-Smtp-Source: AA6agR59hEj15oR9edTrBWY626O/WcS219qrENvEYb9zGDSgb4TGLS1vAEduzGztd7Jzj76YxW7LXQ== X-Received: by 2002:a05:6830:2707:b0:638:9ccc:dadb with SMTP id j7-20020a056830270700b006389cccdadbmr1912397otu.369.1661536299281; Fri, 26 Aug 2022 10:51:39 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:770d:b0:11e:47d1:a33a with SMTP id dw13-20020a056870770d00b0011e47d1a33als984661oab.11.-pod-prod-gmail; Fri, 26 Aug 2022 10:51:38 -0700 (PDT) X-Received: by 2002:a05:6870:ac13:b0:11c:f461:85a4 with SMTP id kw19-20020a056870ac1300b0011cf46185a4mr2357521oab.1.1661536298872; Fri, 26 Aug 2022 10:51:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661536298; cv=pass; d=google.com; s=arc-20160816; b=gxecF5I7al31zT3MYajaaEkzzx6MIhEOoHvoYlLmF3nHzEBTa8VW8/iJeZT4dSe9Ds EKN3eesWafyjGI0yjpqU6gkYv6xxHle3XwQ5jC+ZTbZOAS++DGugQRngbDN646OHC/EY Yk2ut/ILkf/FN9AuuxM5oMMw+A7ujB+pp/GIiXisZFvm8CFiAdJ4WvF2ee5gO+fq6l1s 2WPG//y5wnDZs/onvFhvuvUui0gFczdOr2bX9CdUuOLvPEaXrSwvv11Qr4D8sZj/ESpY x8VejMdc8ZdmtAy1tus+FkldYvX7it1LpY/tWf1F2m3Ukovm0BQseXgyiNU4My5NX8pV g+KA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=E5xX57gRYvsXkSwisWAJR5/W5hBq/nO1JanMpVTiD94=; b=OG7giYJQg65DWA5PoKefHFuxC/fvx7aMNQZDlzY64mPFs8efbhVHeZB3SS8z2gyRJp 1TDlzRcNsbbodfeBDjJRGevbbJpHeRMDExAWxt7TzOgcH7G/8hRnY1QTHrHOesj1sKpD ayHbAOxZyCzQTxctHkJiCQ41wglVeq/khslYDdS8SjC7mUmOTZ5yhVOqiq7qlFu7Tezt IjGGN1w9XMz0eWGP/u+yflGNR/bGlsO9tRFOSxPkb9Usq8EZnt2hS659muleZQxfMLRg RfgNxCyZtIjqh8XEJ1faGDDc1wbY7POjbuxpH4QDCyDD9UyHYnBx5rYub4weqVNp/8TV mxIg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=aKhsrKd8; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.7.47 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70047.outbound.protection.outlook.com. [40.107.7.47]) by gmr-mx.google.com with ESMTPS id u18-20020a056870f29200b0011ca4383bd6si341585oap.4.2022.08.26.10.51.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Aug 2022 10:51:38 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 40.107.7.47 as permitted sender) client-ip=40.107.7.47; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RHUhbzgn49DnnWWYDXdscYriu/VZQBVgnJTzGTqGsuoiIeFXO0WCopJzz3UhofxsyoArf1YVJ7sXNURIn6TgSV+oh9xcPcnEVlvG9hZRdTSy+NvJOwMoLvxszrViVXYxmleM8k8emBBVgnyAyuCMZgxy4JzQtygb1yXvp2TBqmeHbUZz+oeE6r185axws5r4eoxz5TYuucN9wXGQWRhnzagLEQYJaS/mFo6qemp77m8QWs9cNTs3HhQHDAZ2wRKgk6zf59IpF80zAq/6zh87mGObfI/iMQFsQHPh+TqMUVvcRRvVaEi3QBJ+7XJSJ3VhkOtVVG3xOHZ/xaGZw9JFQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=E5xX57gRYvsXkSwisWAJR5/W5hBq/nO1JanMpVTiD94=; b=OEOtGhLwA6RefKs4/hNTiRdcwLQ2cMTF1V5N3p3JhOuQvvbjO1rkZI4IXJQna1t4XGAK9jjASJYxd2E/QWaVZvJZcZCkTbCzpD885FUz3XLXRVBe/DIX7bPztTs910BmkKs3keCcuoyy8ZlJiDqX0GO43mzFjjS5eqHVqM7YC+xQ4qPmyGjo5ZjjoCkxgJz+vPIpFTmL2ziC1qdN7Y0PkU49m2W2XPCLlcJTb1zAVmpCN8N55wmrKb5jWCknihSwehpNBX3Cu/XaL4NUoDYyYl4u1TClBfKqzicsytpLjufYKAd7QqKRDb/Q6tG8/H0TY9OFhVgiCQJfvB3Jh/kENA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.76) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none Received: from DB8PR06CA0057.eurprd06.prod.outlook.com (2603:10a6:10:120::31) by AM4PR1001MB1299.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:200:98::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.22; Fri, 26 Aug 2022 17:51:35 +0000 Received: from DB5EUR01FT016.eop-EUR01.prod.protection.outlook.com (2603:10a6:10:120:cafe::fe) by DB8PR06CA0057.outlook.office365.com (2603:10a6:10:120::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15 via Frontend Transport; Fri, 26 Aug 2022 17:51:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.76) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.76 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.76; helo=hybrid.siemens.com; pr=C Received: from hybrid.siemens.com (194.138.21.76) by DB5EUR01FT016.mail.protection.outlook.com (10.152.4.255) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15 via Frontend Transport; Fri, 26 Aug 2022 17:51:35 +0000 Received: from DEMCHDC89XA.ad011.siemens.net (139.25.226.103) by DEMCHDC8VSA.ad011.siemens.net (194.138.21.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.9; Fri, 26 Aug 2022 19:51:35 +0200 Received: from localhost.localdomain (167.87.46.178) by DEMCHDC89XA.ad011.siemens.net (139.25.226.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.9; Fri, 26 Aug 2022 19:51:34 +0200 From: Henning Schild To: CC: Pingfang Liao , Florian Bezdeka , Henning Schild Subject: [PATCH 1/2] linux-module: honor modules Makefile Date: Fri, 26 Aug 2022 19:51:21 +0200 Message-ID: <20220826175122.20254-1-henning.schild@siemens.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Originating-IP: [167.87.46.178] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC89XA.ad011.siemens.net (139.25.226.103) X-TM-AS-Product-Ver: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-AS-Result: No-10--10.015800-8.000000 X-TMASE-MatchedRID: ThXY+5ucIBzoBDbrl2ujUNoaJuhGj9V373I63lnuB2z27WtDgGBc8kcA 1Ouvduu8Bph69XjMbdlAHOg8qEtqyMP5Lp773ebNV8FLbTgVhlu37aQVUWZ2FZ4CIKY/Hg3AaZG o0EeYG95UMLUJu4leYyq2rl3dzGQ18DFFIBzQ4Q32/4005VJ1/8z8U8I+MVUUH0k/8PpKAaigF3 2fVGXynOfvaOqSocMYSPSy9IJBlOA= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--10.015800-8.000000 X-TMASE-Version: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-SNTS-SMTP: 91CA343F84FE6DA2E7422721BFBF54059C48264D99254B977DEAB0815F8055022000:8 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 52286acc-2bcc-4593-b443-08da878b9ea6 X-MS-TrafficTypeDiagnostic: AM4PR1001MB1299:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QR3MS3zMGy4p/k1OHx2qfmrZA5kR/77hMn+eho9uTJXP1mkZ0XCnjitYDUokR4J8Q1spfh71+Ub0hl98r9oPpsSfG51LBSL/aFJWx6vTX0K9H0CjPRDEpQB9PtGYrGHnU4wNvFoEM10HenpRki20rKVay7y9u0tn+HWfqHow7I930+j5RAd/b5Dx8Kk/DUpDUz9qc4zb45RnEfzMVPxQmk1EjjHOBXNHB9mU+VvB3bKK2lEJltg1tN/ODN4FNv8TixGZqBJ0b1kb6mJsRboOP9VoxHec3IZcPcmTTODM0Gws7xRmhygBkX7TwJWGdiqmIjZ9IjsfXNvAdu55F5RXjyh9KOMJsJJQPN3q9ypCwn/bE59zgrL4px+F4gZ2aZqy8Iscg5XPqlH5T4Z6qstO3W5i+WifHfX81CILK+S7NwVgNP8d9C//qQGKCN3P/KNIbP4Xy4HxUC3ZoYxJnN8qhiNM2zyOCY15obJ9oE4pIhx7keDiyw12cHALxMcNv4SFBQQE1EC8ilRdEZlQSmFYWPDgCCPkzmu39yW/OuJNil4cEdGUjrRxsa3PXOnTRe+X9rAS/XSXVwUGZKk2Z7VIVGD4aPU6qAIRJehjzyiE2khSM8AOh3acnYieLiQBBulQ/K3ZLP7C7YZYX2Rrk/VYT7Eics78RqeeKFEUDrkFjXv23k4LeF3mejMfnPe1oLbofQv1Q4GI8E7kyYG6A4Ha9o2hrLeNiW4m7Rq9g3klCdWD7rAdRWxQl38t6hfkMz+eXSIwPuTUKBSMsvrrfp4sDsMtvRRgAuKNnyTwgukD8kRwN2JIu/2JU3HlP6X0f/Fj X-Forefront-Antispam-Report: CIP:194.138.21.76; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(396003)(136003)(376002)(346002)(46966006)(40470700004)(36840700001)(82960400001)(82740400003)(83380400001)(26005)(107886003)(6666004)(47076005)(956004)(81166007)(356005)(336012)(16526019)(186003)(2616005)(41300700001)(1076003)(54906003)(316002)(86362001)(4326008)(70206006)(36756003)(478600001)(8936002)(8676002)(2906002)(6916009)(36860700001)(40480700001)(70586007)(82310400005)(40460700003)(44832011)(5660300002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2022 17:51:35.7494 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 52286acc-2bcc-4593-b443-08da878b9ea6 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; Ip=[194.138.21.76]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT016.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR1001MB1299 X-Original-Sender: henning.schild@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=aKhsrKd8; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.7.47 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: INBOX External modules might have their own appends and target definitions in their Makefile. All we need to give them is the target name and KDIR, not dive into KDIR right away. Signed-off-by: Henning Schild --- meta/recipes-kernel/linux-module/files/debian/rules.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-kernel/linux-module/files/debian/rules.tmpl b/meta/recipes-kernel/linux-module/files/debian/rules.tmpl index d3bd7dc30f21..0d16186b5ff3 100755 --- a/meta/recipes-kernel/linux-module/files/debian/rules.tmpl +++ b/meta/recipes-kernel/linux-module/files/debian/rules.tmpl @@ -48,13 +48,13 @@ KDIR := $(shell dpkg -L $(KERNEL_DEP) | grep "/lib/modules/.*/build") endif override_dh_auto_clean: - $(MAKE) -C $(KDIR) M=$(PWD) clean + $(MAKE) KDIR=$(KDIR) clean override_dh_auto_build: - $(MAKE) -C $(KDIR) M=$(PWD) modules + $(MAKE) KDIR=$(KDIR) modules override_dh_auto_install: - $(MAKE) -C $(KDIR) M=$(PWD) INSTALL_MOD_PATH=$(PWD)/debian/${PN} modules_install + $(MAKE) KDIR=$(KDIR) INSTALL_MOD_PATH=$(PWD)/debian/${PN} modules_install %: CFLAGS= LDFLAGS= dh $@ --parallel