powerpc: change .fixup test to a GCC version test
[platform/kernel/u-boot.git] / arch / powerpc / config.mk
index a307154..b706281 100644 (file)
@@ -42,3 +42,8 @@ endif
 ifeq ($(CROSS_COMPILE),powerpc-openbsd-)
 PLATFORM_CPPFLAGS+= -D__PPC__
 endif
+
+# Only test once
+ifneq ($(CONFIG_SPL_BUILD),y)
+ALL-y += checkgcc4
+endif