summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2008-11-12 13:06:48 -0600
committerWolfgang Denk <wd@denx.de>2008-12-08 23:18:23 +0100
commit434c51a5e62f608a2a78ed5398ac43a1c77cc183 (patch)
treeb55551dac89b74fb0245f2ce88429ddc8925b0d9
parentcf7a7b99794bac936899819b95539be1dbd71708 (diff)
downloadu-boot-imx-434c51a5e62f608a2a78ed5398ac43a1c77cc183.zip
u-boot-imx-434c51a5e62f608a2a78ed5398ac43a1c77cc183.tar.gz
u-boot-imx-434c51a5e62f608a2a78ed5398ac43a1c77cc183.tar.bz2
Remove unneeded CONFIG_SHELL references
Make should be using the bash shell by default which makes CONFIG_SHELL unnecessary Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
-rw-r--r--Makefile3
-rw-r--r--config.mk9
2 files changed, 3 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 913fd16..4dafd2b 100644
--- a/Makefile
+++ b/Makefile
@@ -374,8 +374,7 @@ $(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
$(VERSION_FILE):
@( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' "$(U_BOOT_VERSION)" \
- '$(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion $(TOPDIR))' \
- ) > $@.tmp
+ '$(shell $(TOPDIR)/tools/setlocalversion $(TOPDIR))' ) > $@.tmp
@cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
$(TIMESTAMP_FILE):
diff --git a/config.mk b/config.mk
index 5a9334c..d770f09 100644
--- a/config.mk
+++ b/config.mk
@@ -46,10 +46,6 @@ PLATFORM_LDFLAGS =
#########################################################################
-CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
- else if [ -x /bin/bash ]; then echo /bin/bash; \
- else echo sh; fi ; fi)
-
ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
HOSTCC = cc
else
@@ -204,9 +200,8 @@ endif
#########################################################################
-export CONFIG_SHELL HPATH HOSTCC HOSTCFLAGS CROSS_COMPILE \
- AS LD CC CPP AR NM STRIP OBJCOPY OBJDUMP \
- MAKE
+export HPATH HOSTCC HOSTCFLAGS CROSS_COMPILE \
+ AS LD CC CPP AR NM STRIP OBJCOPY OBJDUMP MAKE
export TEXT_BASE PLATFORM_CPPFLAGS PLATFORM_RELFLAGS CPPFLAGS CFLAGS AFLAGS
#########################################################################