LR097: enable reboot system when shutdown with dc plug in
[firefly-linux-kernel-4.4.55.git] / scripts / Makefile.build
index a0fd5029cfe78c8d082409b3228a59998b15eaa2..056c242b96ff8af314a1650980118734f8e6a48b 100644 (file)
@@ -463,3 +463,12 @@ endif
 # information in a variable se we can use it in if_changed and friends.
 
 .PHONY: $(PHONY)
+
+
+# .uu -> .o
+# ---------------------------------------------------------------------------
+quiet_cmd_uudecode_o_uu = DECODE  $@
+      cmd_uudecode_o_uu = uudecode -o $@ $<
+
+$(obj)/%.o: $(src)/%.uu FORCE
+       $(call if_changed,uudecode_o_uu)