[Armadeus-commitlog] SF.net SVN: armadeus: [587] trunk/Makefile
Brought to you by:
sszy
|
From: <ar...@us...> - 2007-04-17 21:33:28
|
Revision: 587
http://armadeus.svn.sourceforge.net/armadeus/?rev=587&view=rev
Author: artemys
Date: 2007-04-17 14:33:28 -0700 (Tue, 17 Apr 2007)
Log Message:
-----------
[BUILD] Add buildauto target to main Makefile in order to setup automatic builds
Modified Paths:
--------------
trunk/Makefile
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2007-04-15 17:19:36 UTC (rev 586)
+++ trunk/Makefile 2007-04-17 21:33:28 UTC (rev 587)
@@ -32,7 +32,7 @@
PATCH_DIR=patches
PATCH_CYGWIN_DIR=$(PATCH_DIR)/cygwin
-TAR_OPTIONS=--exclude=.svn -xvf
+TAR_OPTIONS=--exclude=.svn -xf
#used only by cygwin to restore the rights on some rootfs directories
BUILDROOT_ROOT_DIR=$(BUILDROOT_DIR)/build_arm_nofpu/root
@@ -100,6 +100,14 @@
fi;
@$(MAKE) -C $(BUILDROOT_DIR)
+# To be called only one time if one wants to make an automatic build
+buildauto: $(BUILDROOT_DIR)/.unpacked
+ # Be sure that /local/downloads exists if you want to use automated build
+ sed -e 's/BR2_DL_DIR/BR2_DL_DIR=\"\/local\/downloads\" #/g' $(BUILDROOT_DIR)/.defconfig > $(BUILDROOT_DIR)/.defconfig_new ; \
+ mv -f $(BUILDROOT_DIR)/.defconfig_new $(BUILDROOT_DIR)/.defconfig
+ echo "ey" | $(MAKE) -C $(BUILDROOT_DIR) menuconfig
+ $(MAKE) -C $(BUILDROOT_DIR)
+
menuconfig: $(BUILDROOT_DIR)/.unpacked
@$(MAKE) -C $(BUILDROOT_DIR) menuconfig
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|