From patchwork Mon Sep 11 12:53:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Lapshin X-Patchwork-Id: 75639 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 877FA3858C1F for ; Mon, 11 Sep 2023 12:54:12 +0000 (GMT) X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2093.outbound.protection.outlook.com [40.107.255.93]) by sourceware.org (Postfix) with ESMTPS id 8118F3857702 for ; Mon, 11 Sep 2023 12:54:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8118F3857702 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=espressif.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=espressif.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FtISDqXjPemVuRPXWcY2k4ULTHHsUnT6WwbB3LNKdwNm55Rs2tG5acONlBxdq4LWmQ6NSJxM5oQDNWSrBtrvQP6DJ2szqwIjyaRLWbS2Gng8p0Rdo6wVQJBqsCw2i25SWYNmeDLUYp799UJB2URVF1RBMD1HIPeQlC0D8DI81+qCq0sdYPjM3+4vgm59fhf48CJ2CxTsJVDtBlmta08QEEPVsgCr0tIoIDPM7Wobp+9DiuvpK0kXbp0RaRBNy3GhEp2vG9GvVBpf0BXiM3PR/lphb/VX0jE1SXbcI+Dy+uf/WXGZzLvKHhZkTnrKIv2qRnq80lbqkBVKqFOJdyRLag== 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=/o5tDcUBcCxBZKFXjDBQ9ZNPvSKwU6THH+wkZjS4a2g=; b=En8CkqbflMzGsHe5SMdHM+capMQ1e36G8cNQcn88J0KcWu7TvVZ9m9yPfQ2obAutDXvg/0WJmuAPTZy4Ft344g+bs3EbLj3iMBHN42C70K4rTLGitQfo9uB2Z1slQY7tgopUAdcLvr3eVIt1TGu3sQv703OP6bnVefjqMHuh3BrfZ5DuvFckD6r/Rx2SodWPiICzJkt/FQHlRgrWACni7NqZGcn17jbOzOvB26dzAECT5MqGgxQRGFq3mIg0Z6k8khkDRV25hxC8vtGSxmX1Tv4WSGMYYkij1k8zxLtGdsyDgww4XUvBivSlKFYXj9uXWhNkdjWehbAzEhJLKRnOMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=espressif.com; dmarc=pass action=none header.from=espressif.com; dkim=pass header.d=espressif.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=espressifsystems.onmicrosoft.com; s=selector1-espressifsystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/o5tDcUBcCxBZKFXjDBQ9ZNPvSKwU6THH+wkZjS4a2g=; b=Kt6G/YUbzDrdoQGQg8Gk696/DtfrRjZ4/ruHL1OelTKDLdTg+2ZNDG/s6Zv2p/BE1MYWVfisloggPWbsDqpapkojdnOLwWBS3gCkP+ppzKwT0c8jG/3uQN3+c7mF44OTyWjzqyx8+sVNHW43XoUzZdqhlGXOeifgHlwU/+N5eeM= Received: from TYZPR04MB5736.apcprd04.prod.outlook.com (2603:1096:400:1fa::7) by SEYPR04MB7230.apcprd04.prod.outlook.com (2603:1096:101:16b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37; Mon, 11 Sep 2023 12:53:55 +0000 Received: from TYZPR04MB5736.apcprd04.prod.outlook.com ([fe80::cb3d:7677:ae5b:c6a9]) by TYZPR04MB5736.apcprd04.prod.outlook.com ([fe80::cb3d:7677:ae5b:c6a9%5]) with mapi id 15.20.6768.029; Mon, 11 Sep 2023 12:53:55 +0000 From: Alexey Lapshin To: "sebastian.huber@embedded-brains.de" Subject: [PATCH v2] newlib: fix sys headers installation path Thread-Topic: [PATCH v2] newlib: fix sys headers installation path Thread-Index: AQHZ5K2uM7ctBqmSCEiedQisAcGTULAVkkSAgAACaYA= Date: Mon, 11 Sep 2023 12:53:55 +0000 Message-ID: <2eb2ce08c76b7716f6581d7545a9f8190e5cbf69.camel@espressif.com> References: <9c5f793259f3755d2d7cb5e60743e38ade7330b8.camel@espressif.com> In-Reply-To: <9c5f793259f3755d2d7cb5e60743e38ade7330b8.camel@espressif.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=espressif.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYZPR04MB5736:EE_|SEYPR04MB7230:EE_ x-ms-office365-filtering-correlation-id: ff078144-3d37-46de-699b-08dbb2c6283a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: U5uDwzrk9IhoHZuejh7LV5vbvRVwFa0GqScCkEUpvq9yWSGKHg0PjDV4j5ve8J6Ug8i7UXhguWbQjxRH8qZ+fdWbdyUbtGIVy43m8FxTUFT7q+EtpkyvfL337W8AZEPvbjv0tyQEhdZCCykgmdIemOXg5bvHMt2/1qnbUdocWVotSqSBP5QzK1hFmI8f+lw+ZCsTe7rcky+DlNLfwEHcgmBDfMD0aLJntfWkAD7yyR2qD/OWbYcm/Y1pa2pqP6rKj/175m7Biil3ydLvTINNPmxddTUTEXspVLkCuqCErNwdpu5KbfC2kW7+KKpsA2fuf5giHxUuaOVzTSLKr4knC+HH0nRdt2ptQgWrhHZKE1nOOxtLo/yQHcJvUfIJqHETavWE+BVo8xYsyld83j7Exgj2/fM9W9Qm2sjYocyLozgW6j8WrHd//QQBRxnd0oWrwJ4TjIQE+4zj2k2KgzVHAwyWpollA05UW1+W+enoxXTGZZGHKoJrkAbrVHLvipbcDswV1iASUWYmQ60oDpnJ52oNm5bvfj89uW7fwe2Usai+5j9B4lHLKscsaeOBJiEV/reiO58PDtqwwkgE4zKSCFqw4gh6vrZ3dfcUIsvGwiDPr5ce0kVX0BPr2phr8ERk x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB5736.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(366004)(376002)(346002)(39850400004)(136003)(451199024)(1800799009)(186009)(122000001)(6486002)(6506007)(71200400001)(36756003)(86362001)(38100700002)(38070700005)(26005)(2616005)(6512007)(83380400001)(478600001)(91956017)(41300700001)(316002)(76116006)(8936002)(8676002)(4326008)(5660300002)(2906002)(44832011)(66476007)(6916009)(66946007)(66446008)(64756008)(66556008)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?1wdI904ByO6xO6vdak5psAv0j+cC?= =?utf-8?q?ETMZ9l3T8uYC2KSWoAOnzRshryLirY49TWYgFg2WCIstJVIHgiqZVRAcQURWVlJq6?= =?utf-8?q?HNuBgwcRAfgdc3subNDjmiEzmK75SLwP6n2LQyTZvamyb2kkgz8MauMK7eqXJomFR?= =?utf-8?q?yYlHTXd5isqQUZDTDEtfKsSdAv6QJgF4+T3zQMIwsvRffnFOQGKFxTNEWCcsxFWhK?= =?utf-8?q?8RWS6MkxVFTVAUDPKhDN3aZC7mEbLskPPRLtQDdWsGyfpnAT0wuFDkhJojvgMYKdi?= =?utf-8?q?7sDtecdBsofVyrySIOTjHmG0iNzH93hDACz1K4UTNoZ9PxsWCcPX5gOzd60J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f-8?q?Ua+kKybMdk33im4G0vc/9VW1t0ZYyiQUKSOt2wTI8jhHhK7PzrxABPUzh3VLNbnbj?= =?utf-8?q?1u2zoI/jpLQbtlv3iPMLvbSNw1NN2sVdQ1tF7WCqQrcXYGCtrp9Jy9ogorM0XHW8f?= =?utf-8?q?kO7x1c+y/SI47gk33lMWL3Yqi1+yVy5eTyDbCbpLzGIQWfPRAvxXQFNJRhdWJu4/z?= =?utf-8?q?0uzYS8w3oNm3vjDbodA/wRCBGM801vDzJrSMG/zF9LK14UB7SUdu6LSBnOyYWcCCB?= =?utf-8?q?uIy1gbitfAlgFl2vkjhtWmSv4yMfNKMrG7OWH4PCerNOiN3Loim379NJFfaSx6s+0?= =?utf-8?q?96FKpc7HUs/m2q863hnSyctYz8hpWzLrzn1JtSkMnHWljfqlqFLOPuc=3D?= Content-ID: <06E89265BB9B194CABDAB0222740790C@apcprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: espressif.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB5736.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff078144-3d37-46de-699b-08dbb2c6283a X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2023 12:53:55.1009 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5faf27fd-3557-4294-9545-8ea74a409f39 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6vY5CEBItb4NIhbupE0e0prufw97ifTJ6rVXxHQ3UAhi3b1oMVAnZ+53ElE2Ts4hxydwq5wBEFXG1B5zNV07A9o7+UK76Owc+0xcmf8wsCo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7230 X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "newlib@sourceware.org" Errors-To: newlib-bounces+patchwork=sourceware.org@sourceware.org Sender: "Newlib" --- newlib/Makefile.am | 2 +- newlib/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- 2.34.1 diff --git a/newlib/Makefile.am b/newlib/Makefile.am index e29607ccd..47f0be288 100644 --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -334,7 +334,7 @@ install-data-local: install-toollibLIBRARIES install-multi $(INSTALL_DATA_LOCAL) else true; fi ; \ done ; \ for i in $(call rwildcard,$(srcdir)/libc/sys/$(sys_dir)/include/,*.h); do \ - f=`echo $$i | sed s:^$(srcdir)/libc/sys/$(sys_dir)/include/::`; \ + f=`echo $$i | sed s:^$(srcdir)/libc/sys/$(sys_dir)/::`; \ $(MKDIR_P) $(DESTDIR)$(tooldir)/`dirname $$f`; \ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/`dirname $$f`; \ done ; \ diff --git a/newlib/Makefile.in b/newlib/Makefile.in index c3052acb9..5dc9dcc8d 100644 --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -50500,7 +50500,7 @@ install-data-local: install-toollibLIBRARIES install-multi $(INSTALL_DATA_LOCAL) else true; fi ; \ done ; \ for i in $(call rwildcard,$(srcdir)/libc/sys/$(sys_dir)/include/,*.h); do \ - f=`echo $$i | sed s:^$(srcdir)/libc/sys/$(sys_dir)/include/::`; \ + f=`echo $$i | sed s:^$(srcdir)/libc/sys/$(sys_dir)/::`; \ $(MKDIR_P) $(DESTDIR)$(tooldir)/`dirname $$f`; \ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/`dirname $$f`; \ done ; \