summaryrefslogtreecommitdiffstats
path: root/src/build/img_defs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/img_defs.mk')
-rw-r--r--src/build/img_defs.mk14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/build/img_defs.mk b/src/build/img_defs.mk
index d52a088f..c85baf28 100644
--- a/src/build/img_defs.mk
+++ b/src/build/img_defs.mk
@@ -524,22 +524,16 @@ C2=@echo
MAKE+= --no-print-directory
endif
-#override the GNU Make implicit rule for going from a .C to a .o
-%.o: %.C
-
# -Wno-conversion-null is necesary to allow mapping of NULL to TARGET_TYPE_SYSTEM
# for attribute accesses
-$(OBJDIR)/%.s: %.C
+$(OBJDIR)/%.o: %.C
$(C2) " CC $(notdir $<)"
- $(C1)$(TCC) $(PPE-CFLAGS) $(DEFS) -Wno-conversion-null -S $(CXXFLAGS) -o $@ $<
-
+ $(C1)$(TCC) $(PPE-CFLAGS) $(DEFS) -Wno-conversion-null $(CXXFLAGS) -o $@ $<
-#override the GNU Make implicit rule for going from a .c to a .o
-%.o: %.c
-$(OBJDIR)/%.s: %.c
+$(OBJDIR)/%.o: %.c
$(C2) " C $(notdir $<)"
- $(C1)$(CC) $(PPE-CFLAGS) $(DEFS) -S -o $@ $<
+ $(C1)$(CC) $(PPE-CFLAGS) $(DEFS) -o $@ $<
#override the GNU Make implicit rule for going from a .S to a .o
%.o: %.S
OpenPOWER on IntegriCloud