summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-03-07 12:14:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-05 11:31:30 +0200
commit68ce5a3b03e4cc68e25e6f828d6947dac6beb69b (patch)
treeb696e31a818852bd51d80915ab38c87027b37719 /scripts
parentac29648413d1a33126ad1f98714717cbee452e55 (diff)
downloadbarebox-68ce5a3b03e4cc68e25e6f828d6947dac6beb69b.tar.gz
barebox-68ce5a3b03e4cc68e25e6f828d6947dac6beb69b.tar.xz
build bareboxenv for the target as well
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index d6ea48cafa..15a2b81249 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)