[Armadeus-commitlog] SF.net SVN: armadeus:[1185] trunk/Makefile
Brought to you by:
sszy
|
From: <jo...@us...> - 2009-03-22 21:32:43
|
Revision: 1185
http://armadeus.svn.sourceforge.net/armadeus/?rev=1185&view=rev
Author: jorasse
Date: 2009-03-22 21:32:37 +0000 (Sun, 22 Mar 2009)
Log Message:
-----------
[ARMADEUS] Add makefile target to automatize build of any armadeus target
Modified Paths:
--------------
trunk/Makefile
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2009-03-22 18:00:25 UTC (rev 1184)
+++ trunk/Makefile 2009-03-22 21:32:37 UTC (rev 1185)
@@ -133,6 +133,15 @@
echo -e "\033[1m\nThis configuration does not exist !!\n\033[0m" ; \
fi;
+%_autoconf: $(BUILDROOT_DIR)/.unpacked
+ @if [ -e "$(BUILDROOT_DIR)/target/device/armadeus/$(patsubst %_autoconf,%,$@)/$(patsubst %_autoconf,%,$@)_defconfig" ]; then \
+ rm -f $(BUILDROOT_DIR)/.config ; \
+ $(MAKE) -C $(BUILDROOT_DIR) $(patsubst %_autoconf,%,$@)_defconfig ; \
+ touch $(BUILDROOT_DIR)/.configured ; \
+ else \
+ echo -e "\033[1m\nThis configuration does not exist !!\n\033[0m" ; \
+ fi;
+
all: $(BUILDROOT_DIR)/.configured
@echo "If your /bin/sh link doesn't point to /bin/bash, please correct that."
@ls -al /bin/sh | grep bash
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|