File tree Expand file tree Collapse file tree 5 files changed +3
-26
lines changed Expand file tree Collapse file tree 5 files changed +3
-26
lines changed Original file line number Diff line number Diff line change @@ -1081,7 +1081,7 @@ scripts: scripts_basic scripts_dtc asm-generic gcc-plugins $(autoksyms_h)
1081
1081
# version.h and scripts_basic is processed / created.
1082
1082
1083
1083
# Listed in dependency order
1084
- PHONY += prepare archprepare macroprepare prepare0 prepare1 prepare2 prepare3
1084
+ PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3
1085
1085
1086
1086
# prepare3 is used to check if we are building in a separate output directory,
1087
1087
# and if so do:
@@ -1104,9 +1104,7 @@ prepare2: prepare3 outputmakefile asm-generic
1104
1104
prepare1 : prepare2 $(version_h ) $(autoksyms_h ) include/generated/utsrelease.h
1105
1105
$(cmd_crmodverdir )
1106
1106
1107
- macroprepare : prepare1 archmacros
1108
-
1109
- archprepare : archheaders archscripts macroprepare scripts_basic
1107
+ archprepare : archheaders archscripts prepare1 scripts_basic
1110
1108
1111
1109
prepare0 : archprepare gcc-plugins
1112
1110
$(Q )$(MAKE ) $(build ) =.
@@ -1174,9 +1172,6 @@ archheaders:
1174
1172
PHONY += archscripts
1175
1173
archscripts :
1176
1174
1177
- PHONY += archmacros
1178
- archmacros :
1179
-
1180
1175
PHONY += __headers
1181
1176
__headers : $(version_h ) scripts_basic uapi-asm-generic archheaders archscripts
1182
1177
$(Q )$(MAKE ) $(build ) =scripts build_unifdef
Original file line number Diff line number Diff line change @@ -232,13 +232,6 @@ archscripts: scripts_basic
232
232
archheaders :
233
233
$(Q )$(MAKE ) $(build ) =arch/x86/entry/syscalls all
234
234
235
- archmacros :
236
- $(Q )$(MAKE ) $(build ) =arch/x86/kernel arch/x86/kernel/macros.s
237
-
238
- ASM_MACRO_FLAGS = -Wa,arch/x86/kernel/macros.s
239
- export ASM_MACRO_FLAGS
240
- KBUILD_CFLAGS += $(ASM_MACRO_FLAGS )
241
-
242
235
# ##
243
236
# Kernel objects
244
237
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -115,9 +115,7 @@ __cc-option = $(call try-run,\
115
115
116
116
# Do not attempt to build with gcc plugins during cc-option tests.
117
117
# (And this uses delayed resolution so the flags will be up to date.)
118
- # In addition, do not include the asm macros which are built later.
119
- CC_OPTION_FILTERED = $(GCC_PLUGINS_CFLAGS) $(ASM_MACRO_FLAGS)
120
- CC_OPTION_CFLAGS = $(filter-out $(CC_OPTION_FILTERED),$(KBUILD_CFLAGS))
118
+ CC_OPTION_CFLAGS = $(filter-out $(GCC_PLUGINS_CFLAGS),$(KBUILD_CFLAGS))
121
119
122
120
# cc-option
123
121
# Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ OBJECT_FILES_NON_STANDARD := y
4
4
hostprogs-y := modpost mk_elfconfig
5
5
always := $(hostprogs-y ) empty.o
6
6
7
- CFLAGS_REMOVE_empty.o := $(ASM_MACRO_FLAGS )
8
-
9
7
modpost-objs := modpost.o file2alias.o sumversion.o
10
8
11
9
devicetable-offsets-file := devicetable-offsets.h
You can’t perform that action at this time.
0 commit comments