Explorar o código

touchup new kconfig handling so we dont constantly rebuild

Mike Frysinger %!s(int64=17) %!d(string=hai) anos
pai
achega
f50cd1662f
Modificáronse 2 ficheiros con 6 adicións e 6 borrados
  1. 3 3
      Makefile.in
  2. 3 3
      extra/config/Makefile

+ 3 - 3
Makefile.in

@@ -37,8 +37,8 @@ include $(top_srcdir)extra/locale/Makefile.in
 include $(top_srcdir)libc/Makefile.in
 
 include/bits/uClibc_config.h: extra/config/conf .config
-	$(INSTALL) -d $(dir $@)
-	@$< -o $(top_srcdir)extra/Configs/Config.in
+	$(Q)$(INSTALL) -d $(dir $@)
+	$(Q)@$< -o $(top_srcdir)extra/Configs/Config.in
 
 # For the moment, we have to keep re-running this target
 # because the fix includes scripts rely on pre-processers
@@ -293,7 +293,7 @@ include/bits:
 # configuration
 # ---------------------------------------------------------------------------
 extra/config/conf extra/config/mconf: include/bits
-	$(MAKE) -C extra/config $(notdir $@)
+	$(Q)$(MAKE) -C extra/config $(notdir $@)
 
 menuconfig: extra/config/mconf include/bits
 	$(Q)./extra/config/mconf extra/Configs/Config.in

+ 3 - 3
extra/config/Makefile

@@ -13,13 +13,13 @@ host-cmulti := $(foreach m,$(__hostprogs),\
            $(if $($(m)-cxxobjs),,$(if $($(m)-objs),$(m))))
 host-cobjs  := $(sort $(foreach m,$(__hostprogs),$($(m)-objs)))
 
-$(host-csingle): %: %.c FORCE
+$(host-csingle): %: %.c
 	$(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $(HOST_LOADLIBES) $< -o $@
 
-$(host-cmulti): %: $(host-cobjs) $(host-cshlib) FORCE
+$(host-cmulti): %: $(host-cobjs) $(host-cshlib)
 	$(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $(HOST_LOADLIBES) $($@-objs) -o $@
 
-$(host-cobjs): %.o: %.c FORCE
+$(host-cobjs): %.o: %.c
 	$(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) -c $< -o $@
 
 $(obj)/%:: $(src)/%_shipped