[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1611338653-175404-1-git-send-email-r.karszniewicz@phytec.de>
Date: Fri, 22 Jan 2021 19:04:13 +0100
From: Robert Karszniewicz <r.karszniewicz@...tec.de>
To: Kees Cook <keescook@...omium.org>,
Masahiro Yamada <masahiroy@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>,
Jonathan Corbet <corbet@....net>
Cc: Philipp Rudo <prudo@...ux.ibm.com>,
linux-hardening@...r.kernel.org, linux-kbuild@...r.kernel.org,
linux-doc@...r.kernel.org,
Robert Karszniewicz <r.karszniewicz@...tec.de>,
Robert Karszniewicz <avoidr@...teo.de>
Subject: [PATCH] Documentation/Kbuild: Remove references to gcc-plugin.sh
gcc-plugin.sh has been removed in commit
1e860048c53e ("gcc-plugins: simplify GCC plugin-dev capability test").
Signed-off-by: Robert Karszniewicz <r.karszniewicz@...tec.de>
---
Documentation/kbuild/gcc-plugins.rst | 6 ------
scripts/dummy-tools/gcc | 15 ---------------
2 files changed, 21 deletions(-)
diff --git a/Documentation/kbuild/gcc-plugins.rst b/Documentation/kbuild/gcc-plugins.rst
index 4b1c10f88e30..63379d0150e3 100644
--- a/Documentation/kbuild/gcc-plugins.rst
+++ b/Documentation/kbuild/gcc-plugins.rst
@@ -47,12 +47,6 @@ Files
This is a compatibility header for GCC plugins.
It should be always included instead of individual gcc headers.
-**$(src)/scripts/gcc-plugin.sh**
-
- This script checks the availability of the included headers in
- gcc-common.h and chooses the proper host compiler to build the plugins
- (gcc-4.7 can be built by either gcc or g++).
-
**$(src)/scripts/gcc-plugins/gcc-generate-gimple-pass.h,
$(src)/scripts/gcc-plugins/gcc-generate-ipa-pass.h,
$(src)/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h,
diff --git a/scripts/dummy-tools/gcc b/scripts/dummy-tools/gcc
index 33487e99d83e..a484de576e6f 100755
--- a/scripts/dummy-tools/gcc
+++ b/scripts/dummy-tools/gcc
@@ -74,18 +74,3 @@ if arg_contain -S "$@"; then
exit 0
fi
fi
-
-# For scripts/gcc-plugin.sh
-if arg_contain -print-file-name=plugin "$@"; then
- plugin_dir=$(mktemp -d)
-
- sed -n 's/.*#include "\(.*\)"/\1/p' $(dirname $0)/../gcc-plugins/gcc-common.h |
- while read header
- do
- mkdir -p $plugin_dir/include/$(dirname $header)
- touch $plugin_dir/include/$header
- done
-
- echo $plugin_dir
- exit 0
-fi
--
2.7.4
Powered by blists - more mailing lists