summaryrefslogtreecommitdiff
path: root/arch/openrisc/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-11-16 02:26:38 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-16 02:26:38 +0400
commit98d38dd2ee30322fc9934d7490be3c5bee80950e (patch)
treea65a3ccb525156f1dd5ffdc7286eddcfd33d3c5e /arch/openrisc/Makefile
parente4528d696f0fbb8eda231e2696b9ce0660f1e814 (diff)
parent621c2cd853fca98258b720d9fe7e8c031ec7f96f (diff)
downloadlinux-98d38dd2ee30322fc9934d7490be3c5bee80950e.tar.xz
Merge tag 'for-3.13' of git://git.openrisc.net/~jonas/linux
Pull OpenRISC updates from Jonas Bonn: - small cleanups to make allmodconfig pass - defconfig refresh - a handful of code sanitization patches * tag 'for-3.13' of git://git.openrisc.net/~jonas/linux: openrisc: Refactor or32_early_setup() openrisc: Remove unused declaration of __initramfs_start openrisc: Use the declarations provided by <asm/sections.h> openrisc: Refresh or1ksim_defconfig for v3.12 openrisc: Refactor 16-bit constant relocation openrisc: include: asm: Kbuild: add default "vga.h" openrisc: Makefile: append "-D__linux__" to KBUILD_CFLAGS
Diffstat (limited to 'arch/openrisc/Makefile')
-rw-r--r--arch/openrisc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/Makefile b/arch/openrisc/Makefile
index 4739b8302a58..89076a66eee2 100644
--- a/arch/openrisc/Makefile
+++ b/arch/openrisc/Makefile
@@ -24,7 +24,7 @@ OBJCOPYFLAGS := -O binary -R .note -R .comment -S
LDFLAGS_vmlinux :=
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
-KBUILD_CFLAGS += -pipe -ffixed-r10
+KBUILD_CFLAGS += -pipe -ffixed-r10 -D__linux__
ifeq ($(CONFIG_OPENRISC_HAVE_INST_MUL),y)
KBUILD_CFLAGS += $(call cc-option,-mhard-mul)