mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
Documentation/features-refresh.sh: Only sed the beginning "arch" of ARCH_DIR
It should only sed the beginning "arch" of ARCH_DIR in features-refresh.sh,
otherwise loongarch is recognized as loong, that is not what we want.
Fixes: be99f610a1
("Documentation/features: Add script that refreshes the arch support status files in place")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Link: https://lore.kernel.org/r/1670156327-9631-2-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
8067a32512
commit
7b5a5242fd
@ -60,7 +60,7 @@ for F_FILE in Documentation/features/*/*/arch-support.txt; do
|
||||
echo " | arch |status|" >> $T_FILE
|
||||
echo " -----------------------" >> $T_FILE
|
||||
for ARCH_DIR in arch/*/; do
|
||||
ARCH=$(echo $ARCH_DIR | sed -e 's/arch//g' | sed -e 's/\///g')
|
||||
ARCH=$(echo $ARCH_DIR | sed -e 's/^arch//g' | sed -e 's/\///g')
|
||||
K_FILES=$(find $ARCH_DIR -name "Kconfig*")
|
||||
K_GREP=$(grep "$K" $K_FILES)
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user