From 7682a99826a624d3764656b5bb31f88e2f8b235b Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Tue, 17 Mar 2015 15:28:55 -0500 Subject: remove unnecessary version.h includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Various files are needlessly rebuilt every time due to the version and build time changing. As version.h is not actually needed, remove the include. Signed-off-by: Rob Herring Cc: Albert Aribaud Cc: Stefano Babic Cc: Minkyu Kang Cc: Marek Vasut Cc: Tom Warren Cc: Michal Simek Cc: Macpaul Lin Cc: Wolfgang Denk Cc: York Sun Cc: Stefan Roese Cc: Nobuhiro Iwamatsu Cc: Simon Glass Cc: Philippe Reynes Cc: Eric Jarrige Cc: "David Müller" Cc: Phil Edworthy Cc: Robert Baldyga Cc: Torsten Koschorrek Cc: Anatolij Gustschin Reviewed-by: Linus Walleij Reviewed-by: Łukasz Majewski --- arch/powerpc/config.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'arch/powerpc/config.mk') diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk index fec02f2b82..411039649a 100644 --- a/arch/powerpc/config.mk +++ b/arch/powerpc/config.mk @@ -12,10 +12,11 @@ endif CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000 LDFLAGS_FINAL += --gc-sections LDFLAGS_FINAL += --bss-plt -PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections \ - -meabi -PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2 -PLATFORM_LDFLAGS += -n +PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections \ +-fdata-sections -mcall-linux + +PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2 -m32 +PLATFORM_LDFLAGS += -m32 -melf32ppclinux # Support generic board on PPC __HAVE_ARCH_GENERIC_BOARD := y -- cgit v1.2.3