Diff for /qemu/rules.mak between versions 1.1.1.4 and 1.1.1.5

version 1.1.1.4, 2018/04/24 18:24:00 version 1.1.1.5, 2018/04/24 18:33:55
Line 15  MAKEFLAGS += -rR Line 15  MAKEFLAGS += -rR
 QEMU_DGFLAGS += -MMD -MP -MT $@ -MF $(*D)/$(*F).d  QEMU_DGFLAGS += -MMD -MP -MT $@ -MF $(*D)/$(*F).d
   
 %.o: %.c  %.o: %.c
         $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  CC    $(TARGET_DIR)$@")          $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_INCLUDES) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  CC    $(TARGET_DIR)$@")
   
 %.o: %.S  %.o: %.S
         $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  AS    $(TARGET_DIR)$@")          $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_INCLUDES) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  AS    $(TARGET_DIR)$@")
   
 %.o: %.m  %.o: %.m
         $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  OBJC  $(TARGET_DIR)$@")          $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_INCLUDES) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  OBJC  $(TARGET_DIR)$@")
   
 LINK = $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(1) $(LIBS),"  LINK  $(TARGET_DIR)$@")  LINK = $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(1) $(LIBS),"  LINK  $(TARGET_DIR)$@")
   
Line 42  cc-option = $(if $(shell $(CC) $1 $2 -S  Line 42  cc-option = $(if $(shell $(CC) $1 $2 -S 
 VPATH_SUFFIXES = %.c %.h %.S %.m %.mak %.texi  VPATH_SUFFIXES = %.c %.h %.S %.m %.mak %.texi
 set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES),$(eval vpath $(PATTERN) $1)))  set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES),$(eval vpath $(PATTERN) $1)))
   
   # find-in-path
   # Usage: $(call find-in-path, prog)
   # Looks in the PATH if the argument contains no slash, else only considers one
   # specific directory.  Returns an # empty string if the program doesn't exist
   # there.
   find-in-path = $(if $(find-string /, $1), \
           $(wildcard $1), \
           $(wildcard $(patsubst %, %/$1, $(subst :, ,$(PATH)))))
   
 # Generate timestamp files for .h include files  # Generate timestamp files for .h include files
   
 %.h: %.h-timestamp  %.h: %.h-timestamp
         @test -f $@ || cp $< $@          @test -f $@ || cp $< $@
   
 %.h-timestamp: %.mak  %.h-timestamp: %.mak
         $(call quiet-command, sh $(SRC_PATH)/create_config < $< > $@, "  GEN   $*.h")          $(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@, "  GEN   $*.h")
         @cmp $@ $*.h >/dev/null 2>&1 || cp $@ $*.h          @cmp $@ $*.h >/dev/null 2>&1 || cp $@ $*.h
   
 # will delete the target of a rule if commands exit with a nonzero exit status  # will delete the target of a rule if commands exit with a nonzero exit status

Removed from v.1.1.1.4  
changed lines
  Added in v.1.1.1.5


unix.superglobalmegacorp.com