瀏覽代碼

Make certain that arch specific stuff is compiled last

Eric Andersen 20 年之前
父節點
當前提交
b2c0634d20
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      libm/Makefile

+ 2 - 2
libm/Makefile

@@ -82,7 +82,7 @@ OBJS=$(COBJS)
 ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
 all:  clean subdirs
 else
-all: $(OBJS) $(LIBM) subdirs
+all: $(LIBM) subdirs
 endif
 
 $(LIBM): ar-target
@@ -125,7 +125,7 @@ clean: subdirs_clean
 subdirs: $(patsubst %, _dir_%, $(DIRS))
 subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS))
 
-$(patsubst %, _dir_%, $(DIRS)) : dummy
+$(patsubst %, _dir_%, $(DIRS)) : $(OBJS)
 	$(MAKE) -C $(patsubst _dir_%, %, $@)
 
 $(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy