Commit 1c9051a1 authored by Andrey V.Kosteltsev's avatar Andrey V.Kosteltsev

Use correct 'echo' option -e. Ubuntu dash is incorrect. Please use bash: # cd /bin ; ln -sf bash sh

parent 72495335
......@@ -31,7 +31,7 @@ all: $(TARGETS)
.PHONY: downloads_clean repository_clean
$(git_repo):
@echo "\n======= Clone Kevin Hilman $(repo_name).git repository ======="
@echo -e "\n======= Clone Kevin Hilman $(repo_name).git repository ======="
@rm -rf $(repo_name)
@git clone $(url)/$(repo_name).git $(repo_name)
@touch $@
......@@ -40,7 +40,7 @@ $(tarballs): $(git_repo)
@for tag in $(TAGS) ; do \
version=`echo $$tag | sed 's/\(^[a-zA-Z]*\)\([0-9][.0-9]*[.0-9]*\)\(.*\)/\2/'` ; \
if [ ! -f linux-$$version.tar.bz2 ]; then \
echo "\n======= Creating 'linux-$$version.tar.bz2' snapshot =======" ; \
echo -e "\n======= Creating 'linux-$$version.tar.bz2' snapshot =======" ; \
( cd $(repo_name) && \
git archive --format=tar --prefix=linux-$$version/ $$tag | \
bzip2 >../linux-$$version.tar.bz2 ) ; \
......@@ -50,7 +50,7 @@ $(tarballs): $(git_repo)
$(defconfigs): %.defconfig: %.tar.bz2
@for arch in $< ; do \
version=`echo $$arch | sed 's/\(^[a-zA-Z-]*\)\([0-9][.0-9]*[.0-9]*\)\([\.].*\)/\2/'` ; \
echo "\n======= Extracting default '.config' from '$$arch' tarball =======" ; \
echo -e "\n======= Extracting default '.config' from '$$arch' tarball =======" ; \
( tar -xjf $$arch \
linux-$$version/arch/arm/configs/$(_defconfig) && \
cp linux-$$version/arch/arm/configs/$(_defconfig) linux-$$version.defconfig && \
......@@ -58,7 +58,7 @@ $(defconfigs): %.defconfig: %.tar.bz2
done
repository_clean: $(defconfigs)
@echo "\n======= Remove cloned $(repo_name).git repository ======="
@echo -e "\n======= Remove cloned $(repo_name).git repository ======="
@rm -rf $(git_repo) $(repo_name)
downloads_clean:
......
......@@ -33,7 +33,7 @@ all: $(TARGETS)
.PHONY: downloads_clean repository_clean
$(git_repo):
@echo "\n======= Clone $(repo_name).git repository ======="
@echo -e "\n======= Clone $(repo_name).git repository ======="
@rm -rf $(repo_name)
@if [ "$(url)" = 'git://radix.pro' ]; then \
git clone $(url)/$(repo_name).git $(repo_name) ; \
......@@ -46,7 +46,7 @@ $(tarballs): $(git_repo)
@for tag in $(TAGS) ; do \
version=`echo $$tag | sed 's/\(^[a-zA-Z-]*\)\([0-9][.0-9]*[.0-9]*\)\(.*\)/\2/'` ; \
if [ ! -f linux-$$version.tar.bz2 ]; then \
echo "\n======= Creating 'linux-$$version.tar.bz2' snapshot =======" ; \
echo -e "\n======= Creating 'linux-$$version.tar.bz2' snapshot =======" ; \
( cd $(repo_name) && \
git archive --format=tar --prefix=linux-$$version/ $$tag | \
bzip2 >../linux-$$version.tar.bz2 ) ; \
......@@ -56,7 +56,7 @@ $(tarballs): $(git_repo)
$(defconfigs): %.defconfig: %.tar.bz2
@for arch in $< ; do \
version=`echo $$arch | sed 's/\(^[a-zA-Z-]*\)\([0-9][.0-9]*[.0-9]*\)\([\.].*\)/\2/'` ; \
echo "\n======= Extracting default '.config' from '$$arch' tarball =======" ; \
echo -e "\n======= Extracting default '.config' from '$$arch' tarball =======" ; \
( tar -xjf $$arch \
linux-$$version/arch/mips/configs/$(_defconfig) && \
cp linux-$$version/arch/mips/configs/$(_defconfig) linux-$$version.defconfig && \
......@@ -64,7 +64,7 @@ $(defconfigs): %.defconfig: %.tar.bz2
done
repository_clean: $(defconfigs)
@echo "\n======= Remove cloned $(repo_name).git repository ======="
@echo -e "\n======= Remove cloned $(repo_name).git repository ======="
@rm -rf $(git_repo) $(repo_name)
downloads_clean:
......
......@@ -32,7 +32,7 @@ all: $(TARGETS)
.PHONY: downloads_clean repository_clean
$(git_repo):
@echo "\n======= Clone $(repo_name).git repository ======="
@echo -e "\n======= Clone $(repo_name).git repository ======="
@rm -rf $(repo_name)
@git clone $(url)/$(repo_name).git $(repo_name)
@touch $@
......@@ -41,7 +41,7 @@ $(tarballs): $(git_repo)
@for tag in $(TAGS) ; do \
version=`echo $$tag | sed 's/\(^[a-zA-Z]*\)\([0-9][.0-9]*[.0-9]*\)\(.*\)/\2/'` ; \
if [ ! -f linux-$$version.tar.bz2 ]; then \
echo "\n======= Creating 'linux-$$version.tar.bz2' snapshot =======" ; \
echo -e "\n======= Creating 'linux-$$version.tar.bz2' snapshot =======" ; \
( cd $(repo_name) && \
git archive --format=tar --prefix=linux-$$version/ $$tag | \
bzip2 >../linux-$$version.tar.bz2 ) ; \
......@@ -56,7 +56,7 @@ $(defconfigs): %.defconfig: %.tar.bz2
else \
defcfg=$(_defconfig) ; \
fi ; \
echo "\n======= Extracting default '.config' from '$$arch' tarball =======" ; \
echo -e "\n======= Extracting default '.config' from '$$arch' tarball =======" ; \
( tar -xjf $$arch \
linux-$$version/arch/arm/configs/$$defcfg && \
cp linux-$$version/arch/arm/configs/$$defcfg linux-$$version.defconfig && \
......@@ -64,7 +64,7 @@ $(defconfigs): %.defconfig: %.tar.bz2
done
repository_clean: $(defconfigs)
@echo "\n======= Remove cloned $(repo_name).git repository ======="
@echo -e "\n======= Remove cloned $(repo_name).git repository ======="
@rm -rf $(git_repo) $(repo_name)
downloads_clean:
......
......@@ -25,7 +25,7 @@ all: $(TARGETS)
.PHONY: downloads_clean repository_clean
$(git_repo):
@echo "\n======= Clone $(repo_name).git repository ======="
@echo -e "\n======= Clone $(repo_name).git repository ======="
@rm -rf $(repo_name)
@git clone $(url)/$(repo_name).git $(repo_name)
@touch $@
......@@ -34,7 +34,7 @@ $(tarballs): $(git_repo)
@for tag in $(TAGS) ; do \
version=$$tag ; \
if [ ! -f $(repo_name)-$$version.tar.bz2 ]; then \
echo "\n======= Creating '$(repo_name)-$$version.tar.bz2' snapshot =======" ; \
echo -e "\n======= Creating '$(repo_name)-$$version.tar.bz2' snapshot =======" ; \
( cd $(repo_name) && \
git archive --format=tar --prefix=$(repo_name)-$$version/ $$version | \
bzip2 >../$(repo_name)-$$version.tar.bz2 ) ; \
......@@ -42,7 +42,7 @@ $(tarballs): $(git_repo)
done
repository_clean: $(tarballs)
@echo "\n======= Remove $(repo_name).git repository ======="
@echo -e "\n======= Remove $(repo_name).git repository ======="
@rm -rf $(git_repo) $(repo_name)
downloads_clean:
......
......@@ -25,7 +25,7 @@ all: $(TARGETS)
.PHONY: downloads_clean repository_clean
$(git_repo):
@echo "\n======= Clone $(repo_name).git repository ======="
@echo -e "\n======= Clone $(repo_name).git repository ======="
@rm -rf $(repo_name)
@git clone $(url)/$(repo_name).git $(repo_name)
@touch $@
......@@ -34,7 +34,7 @@ $(tarballs): $(git_repo)
@for tag in $(TAGS) ; do \
version=$$tag ; \
if [ ! -f $(repo_name)-$$version.tar.bz2 ]; then \
echo "\n======= Creating '$(repo_name)-$$version.tar.bz2' snapshot =======" ; \
echo -e "\n======= Creating '$(repo_name)-$$version.tar.bz2' snapshot =======" ; \
( cd $(repo_name) && \
git archive --format=tar --prefix=$(repo_name)-$$version/ $$version | \
bzip2 >../$(repo_name)-$$version.tar.bz2 ) ; \
......@@ -42,7 +42,7 @@ $(tarballs): $(git_repo)
done
repository_clean: $(tarballs)
@echo "\n======= Remove $(repo_name).git repository ======="
@echo -e "\n======= Remove $(repo_name).git repository ======="
@rm -rf $(git_repo) $(repo_name)
downloads_clean:
......
......@@ -25,7 +25,7 @@ all: $(TARGETS)
.PHONY: downloads_clean repository_clean
$(git_repo):
@echo "\n======= Clone $(repo_name).git repository ======="
@echo -e "\n======= Clone $(repo_name).git repository ======="
@rm -rf $(repo_name)
@git clone $(url)/$(repo_name).git $(repo_name)
@touch $@
......@@ -34,7 +34,7 @@ $(tarballs): $(git_repo)
@for tag in $(TAGS) ; do \
version=$$tag ; \
if [ ! -f $(repo_name)-$$version.tar.bz2 ]; then \
echo "\n======= Creating '$(repo_name)-$$version.tar.bz2' snapshot =======" ; \
echo -e "\n======= Creating '$(repo_name)-$$version.tar.bz2' snapshot =======" ; \
( cd $(repo_name) && \
git archive --format=tar --prefix=$(repo_name)-$$version/ $$version | \
bzip2 >../$(repo_name)-$$version.tar.bz2 ) ; \
......@@ -42,7 +42,7 @@ $(tarballs): $(git_repo)
done
repository_clean: $(tarballs)
@echo "\n======= Remove $(repo_name).git repository ======="
@echo -e "\n======= Remove $(repo_name).git repository ======="
@rm -rf $(git_repo) $(repo_name)
downloads_clean:
......
......@@ -25,7 +25,7 @@ all: $(TARGETS)
.PHONY: downloads_clean
$(git_repo):
@echo "\n======= Clone $(repo_name).git repository ======="
@echo -e "\n======= Clone $(repo_name).git repository ======="
@rm -rf $(repo_name)
@git clone $(url)/$(repo_name).git $(repo_name)
@touch $@
......@@ -34,7 +34,7 @@ $(tarballs): $(git_repo)
@for tag in $(TAGS) ; do \
version=$$tag ; \
if [ ! -f $(repo_name)-$$version.tar.bz2 ]; then \
echo "\n======= Creating '$(repo_name)-$$version.tar.bz2' snapshot =======" ; \
echo -e "\n======= Creating '$(repo_name)-$$version.tar.bz2' snapshot =======" ; \
( cd $(repo_name) && \
git archive --format=tar --prefix=$(repo_name)-$$version/ $$version | \
bzip2 >../$(repo_name)-$$version.tar.bz2 ) ; \
......@@ -42,7 +42,7 @@ $(tarballs): $(git_repo)
done
repository_clean: $(tarballs)
@echo "\n======= Remove $(repo_name).git repository ======="
@echo -e "\n======= Remove $(repo_name).git repository ======="
@rm -rf $(git_repo) $(repo_name)
downloads_clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment