From nobody Mon May 6 10:58:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+42860+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42860+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1561520240; cv=none; d=zoho.com; s=zohoarc; b=eYikq2DSoHZXSNBSvElR1Lkw03ysjGMDuZlVODagCJOLwqDwPDjvMlNuQgZIazM4sPAUx9TB5DjEfp1grcYRYfvcSw2gGWacqhieOG5Og+pXrSZcsi7BWdeqGgw3Q9lvGXFdFOgLSNfipKTnLcx6ycI7W+64F/I5qgBu01ON2g0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561520240; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=apnPyy4/piRoQ2RZlMIcyV4ftJ/CB7TfEetW0xwBLs8=; b=m8WtHo0ts0azbBUCsRAdsgFxwbvMsz+chmhqf0vgaGA/tPtJtQbzPjUrtU6UzSehd5m+tCGc7ni3mNGzayrTail9cx4oyCDK7Bjq3mqrPOYeTvV00b+3kxPW8eOQe3eRCL6s8xZvYw39MtdIN4XgvzvDtG4UmgdwW29tuvGVTTk= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42860+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1561520240767400.0536580545735; Tue, 25 Jun 2019 20:37:20 -0700 (PDT) Return-Path: X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by groups.io with SMTP; Tue, 25 Jun 2019 20:37:19 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2019 20:37:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,418,1557212400"; d="scan'208";a="360170041" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by fmsmga005.fm.intel.com with ESMTP; 25 Jun 2019 20:37:18 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao Subject: [edk2-devel] [edk2-platform patch v2] Silicon/Tools: Add top level Makefile and GNUMakefile Date: Wed, 26 Jun 2019 11:36:41 +0800 Message-Id: <20190626033641.4288-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1561520240; bh=4L0ljjrSqP6CAUUry27BQoMO2H5KCpcH2Rq3xoJzfFQ=; h=Cc:Date:From:Reply-To:Subject:To; b=szQxuXMftPTVwOSwqD5CVp8x8EwpJfxc0hY6jSbpBim28tTvc/ikxuil7Jk1MYDVXN8 X99Y6e7AkC0ZSsS8k9LVHhj/+/SIDPLwAo/WBcLFQnI09fyC5DO6n5iuTukjMTSJtEL77 fbeqZ+SCVfwPLTGlZZolgSBJSnGzepW+zGk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add FitGen into Makefile and GNUMakefile. v2: Update the license in GNUmakefile. Cc: Bob Feng Cc: Liming Gao Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- Silicon/Intel/Tools/GNUmakefile | 28 ++++++++++++++++++++++++++++ Silicon/Intel/Tools/Makefile | 31 +++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 Silicon/Intel/Tools/GNUmakefile create mode 100644 Silicon/Intel/Tools/Makefile diff --git a/Silicon/Intel/Tools/GNUmakefile b/Silicon/Intel/Tools/GNUmakef= ile new file mode 100644 index 0000000000..20abf148b5 --- /dev/null +++ b/Silicon/Intel/Tools/GNUmakefile @@ -0,0 +1,28 @@ +## @file +# GNUmakefile for building C utilities. +# +# Copyright (c) 2019, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +MAKEROOT =3D $(EDK_TOOLS_PATH)/Source/C + +APPLICATIONS =3D \ + FitGen \ + +SUBDIRS :=3D $(APPLICATIONS) + +$(APPLICATIONS): $(MAKEROOT)/bin + +.PHONY: subdirs $(SUBDIRS) +subdirs: $(SUBDIRS) +$(SUBDIRS): + $(MAKE) -C $@ + +.PHONY: $(patsubst %,%-clean,$(sort $(SUBDIRS))) +$(patsubst %,%-clean,$(sort $(SUBDIRS))): + -$(MAKE) -C $(@:-clean=3D) clean + +clean: $(patsubst %,%-clean,$(sort $(SUBDIRS))) + diff --git a/Silicon/Intel/Tools/Makefile b/Silicon/Intel/Tools/Makefile new file mode 100644 index 0000000000..e52c95b7b5 --- /dev/null +++ b/Silicon/Intel/Tools/Makefile @@ -0,0 +1,31 @@ +## @file +# makefile for building C utilities. +# +# Copyright (c) 2019, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +!INCLUDE $(EDK_TOOLS_PATH)\Source\C\Makefiles\ms.common + +APPLICATIONS =3D \ + FitGen \ + +all: $(APPLICATIONS) + @echo. + @echo ###################### + @echo # Build executables + @echo ###################### + @if not exist $(BIN_PATH) mkdir $(BIN_PATH) + @$(EDK_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $** + +.PHONY: clean +clean: $(APPLICATIONS) + @$(EDK_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat clean $** + +.PHONY: cleanall +cleanall: $(APPLICATIONS) + @$(EDK_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat cleanall $** + +!INCLUDE $(EDK_TOOLS_PATH)\Source\C\Makefiles\ms.rule + --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42860): https://edk2.groups.io/g/devel/message/42860 Mute This Topic: https://groups.io/mt/32211480/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-