summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas@biessmann.de>2011-12-02 08:51:47 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-12-02 16:08:54 +0100
commit6bcc0feb09f524a912789aa2ddd60c43e2e908c8 (patch)
treebc7f7af8b7b04583748be9e9c2cd7e896a9dbf1b /Makefile.in
parent1d8e5bde8f2ce2f4245703fc4baf22a9e80efcd6 (diff)
downloadptxdist-6bcc0feb09f524a912789aa2ddd60c43e2e908c8.tar.gz
ptxdist-6bcc0feb09f524a912789aa2ddd60c43e2e908c8.tar.xz
add environment make target
The new make target 'environment' set up links to sane tools found by configure. This change was first discussed in http://thread.gmane.org/gmane.comp.embedded.ptxdist.devel/8157/focus=8180 Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 5ee13838c..7f4ea0b95 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,7 +21,9 @@ export SHELL
@BUILD_NCONF_TRUE@NCONF = nconf
-all:
+all: kconfig environment
+
+kconfig:
@echo "building conf and mconf ..."
@CC="$(CC)" \
CXX="$(CXX)" \
@@ -35,10 +37,16 @@ all:
CURSES_LOC="@CURSES_LOC@" \
conf mconf $(NCONF)
@echo "done."
+
+environment:
+ @echo -n "preparing PTXdist environment ..."
+ @ln -sf @SED@ $(abs_srcdir)/bin/sed
+ @echo " done"
@touch .done
clean:
@rm -f .done
+ @rm -f $(abs_srcdir)/bin/sed
@$(MAKE) -C "$(abs_srcdir)/scripts/kconfig" clean
dirty-check: