summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-09-26 11:34:52 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-09-26 11:34:52 +0200
commitbf1f7611e22909b47e0df65a3030aa5959686ce3 (patch)
treee2a80d2e7fe630ef548a67d2b6f9a8982c4a5370 /Makefile
parent97d9b22ecdb283dc7bf70b9a53a837a0febf7b7f (diff)
parenta2db5ce0928a1b8faeaba7a382491c7d7f6f3ffd (diff)
downloadembtoolkit-bf1f7611e22909b47e0df65a3030aa5959686ce3.tar.gz
embtoolkit-bf1f7611e22909b47e0df65a3030aa5959686ce3.tar.bz2
embtoolkit-bf1f7611e22909b47e0df65a3030aa5959686ce3.tar.xz
Merge branch 'master' into embtk-uclibc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 70c3e24..6eb9965 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@
VERSION = 0
PATCHLEVEL = 1
SUBLEVEL = 0
-EXTRAVERSION = -rc2
+EXTRAVERSION = -rc3
KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION
@@ -94,9 +94,21 @@ clean: rmallpath
$(Q)rm -rf .config kbuild.log .fakeroot*
startbuild:
- $(call EMBTK_GENERIC_MESSAGE,"Starting build of selected features ...")
- $(Q)make buildtoolchain host_packages_build symlink_tools \
- rootfs_build successful_build
+ @if [ -e $(GCC3_BUILD_DIR)/.installed ]; then \
+ echo "#################### Embtoolkit Warning ######################"; \
+ echo "# Warning trying to restart all the build while it is already"; \
+ echo "# done. Please use the correct make target !!!"; \
+ echo "##############################################################"; \
+ echo; \
+ make -s help; \
+ else \
+ echo "################## Embtoolkit build start ####################"; \
+ echo "# Starting build of selected features.."; \
+ echo "##############################################################"; \
+ echo; \
+ make buildtoolchain host_packages_build symlink_tools; \
+ make rootfs_build successful_build; \
+ fi
include mk/macros.mk
include mk/target-mcu.mk