diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-09-17 02:01:37 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-09-17 06:14:58 -0500 |
commit | 43e1ba4a26432d3c91619c7917a90d2cbd285737 (patch) | |
tree | 1b9890059ce54421f6a9e9baf20c6060da61b701 /src | |
parent | 16fde70421d845b2789b433b9e97e459c3ac77ec (diff) | |
download | talos-sbe-43e1ba4a26432d3c91619c7917a90d2cbd285737.tar.gz talos-sbe-43e1ba4a26432d3c91619c7917a90d2cbd285737.zip |
Remove intermediate rule for C/c files
Change-Id: Ie6bb107b252d171ed289066ae70818b56f36fae7
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66209
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/build/img_defs.mk | 14 |
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 |