Skip to content

Commit c83b5d3

Browse files
committed
Merge branch 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 build updates from Ingo Molnar: "Two kbuild enhancements by Masahiro Yamada" * 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/build: Remove redundant 'clean-files += capflags.c' x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c
2 parents a1aab6f + 87b6186 commit c83b5d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

arch/x86/kernel/cpu/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ quiet_cmd_mkcapflags = MKCAP $@
5656

5757
cpufeature = $(src)/../../include/asm/cpufeatures.h
5858

59-
targets += capflags.c
6059
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
6160
$(call if_changed,mkcapflags)
6261
endif
63-
clean-files += capflags.c
62+
targets += capflags.c

arch/x86/kernel/cpu/mkcapflags.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# Generate the x86_cap/bug_flags[] arrays from include/asm/cpufeatures.h
55
#
66

7+
set -e
8+
79
IN=$1
810
OUT=$2
911

0 commit comments

Comments
 (0)