[PATCH] build bareboxenv for the target as well

Sascha Hauer s.hauer at pengutronix.de
Wed Apr 4 05:32:27 EDT 2012


From: Michael Olbrich <m.olbrich at pengutronix.de>

Signed-off-by: Michael Olbrich <m.olbrich at pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 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




More information about the barebox mailing list