[PATCH] build bareboxenv for the target as well

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Olbrich <m.olbrich@xxxxxxxxxxxxxx>

Signed-off-by: Michael Olbrich <m.olbrich@xxxxxxxxxxxxxx>
Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 scripts/Makefile |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/scripts/Makefile b/scripts/Makefile
index d6ea48c..15a2b81 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -19,3 +19,11 @@ subdir-$(CONFIG_X86)             += setupmbr
 
 # Let clean descend into subdirs
 subdir-	+= basic kconfig setupmbr
+
+quiet_cmd_csingle	= CC      $@
+      cmd_csingle	= $(CC) -Wp,-MD,$(depfile) $(CFLAGS) -o $@ $<
+
+always                           += bareboxenv-target
+
+scripts/bareboxenv-target: scripts/bareboxenv.c FORCE
+	$(call if_changed_dep,csingle)
-- 
1.7.9.5


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux