diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-09-06 04:46:36 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-09-06 05:00:04 -0400 |
commit | c783b91ebdbab67e848889c29dd0611c2b2c9fea (patch) | |
tree | 8cf137f37d00ab4d2706b2c99d17b4977e795950 /arch/s390 | |
parent | 6512391a30f6b158488e941214541e84473b6bf9 (diff) |
s390: add assembler include path for vx-insn.h
With git commit 0eab11c7e0d30de14a15ccd8269eef238321a8e1
"s390/vx: allow to include vx-insn.h with .include"
and an older gcc we get errors like this:
{standard input}:6: Error: can't open asm/vx-insn.h for reading:
No such file or directory
arch/s390/kernel/fpu.c:57: Error: Unrecognized opcode: `vstm'
To solve this issue simply add the path to arch/s390/include to
all assembler runs.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 224b42734f0d..54e00526b8df 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile | |||
@@ -46,6 +46,8 @@ cflags-$(CONFIG_MARCH_Z196_TUNE) += -mtune=z196 | |||
46 | cflags-$(CONFIG_MARCH_ZEC12_TUNE) += -mtune=zEC12 | 46 | cflags-$(CONFIG_MARCH_ZEC12_TUNE) += -mtune=zEC12 |
47 | cflags-$(CONFIG_MARCH_Z13_TUNE) += -mtune=z13 | 47 | cflags-$(CONFIG_MARCH_Z13_TUNE) += -mtune=z13 |
48 | 48 | ||
49 | cflags-y += -Wa,-I$(srctree)/arch/$(ARCH)/include | ||
50 | |||
49 | #KBUILD_IMAGE is necessary for make rpm | 51 | #KBUILD_IMAGE is necessary for make rpm |
50 | KBUILD_IMAGE :=arch/s390/boot/image | 52 | KBUILD_IMAGE :=arch/s390/boot/image |
51 | 53 | ||