]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
Makefile: fix readelf usage
[karo-tx-uboot.git] / Makefile
index fed766ce6b81de8d8dba330cd3242a853ef11d75..446c2f8e6398ef268e4125b6f9a1eeefcfdf3961 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@
 VERSION = 2013
 PATCHLEVEL = 07
 SUBLEVEL =
-EXTRAVERSION = -rc1
+EXTRAVERSION = -rc2
 ifneq "$(SUBLEVEL)" ""
 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 else
@@ -747,7 +747,7 @@ endif       # config.mk
 # ARM relocations should all be R_ARM_RELATIVE.
 checkarmreloc: $(obj)u-boot
        @if test "R_ARM_RELATIVE" != \
-               "`readelf -r $< | cut -d ' ' -f 4 | grep R_ARM | sort -u`"; \
+               "`$(CROSS_COMPILE)readelf -r $< | cut -d ' ' -f 4 | grep R_ARM | sort -u`"; \
                then echo "$< contains relocations other than \
                R_ARM_RELATIVE"; false; fi