kbuild: remove sed commands after rustc rules
[linux-block.git] / scripts / Makefile.host
index d812241144d443c0f4883124774e3fa78e537b4d..7aea9005e497001cbf7c61d1085b3b05b11deb7d 100644 (file)
@@ -148,8 +148,7 @@ $(host-cxxobjs): $(obj)/%.o: $(src)/%.cc FORCE
 # host-rust -> Executable
 quiet_cmd_host-rust    = HOSTRUSTC $@
       cmd_host-rust    = \
-       $(HOSTRUSTC) $(hostrust_flags) --emit=link=$@ $<; \
-       sed -i '/^\#/d' $(depfile)
+       $(HOSTRUSTC) $(hostrust_flags) --emit=link=$@ $<
 $(host-rust): $(obj)/%: $(src)/%.rs FORCE
        $(call if_changed_dep,host-rust)