]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sparc/cpu/leon3/Makefile
Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE
[karo-tx-uboot.git] / arch / sparc / cpu / leon3 / Makefile
index 182543dd10cfbaa5ac286cfe815cf6f07a39a81c..64c67f8dbc24e7a2d5e834c9dd8bb820d31c907a 100644 (file)
@@ -44,8 +44,9 @@ $(LIB):       $(OBJS)
 include $(SRCTREE)/rules.mk
 
 $(START): $(START:.o=.S)
-       $(CC) -D__ASSEMBLY__ $(DBGFLAGS) $(OPTFLAGS) -D__KERNEL__ -DTEXT_BASE=$(TEXT_BASE) \
-       -I$(TOPDIR)/include -fno-builtin -ffreestanding -nostdinc -isystem $(gccincdir) -pipe \
+       $(CC) -D__ASSEMBLY__ $(DBGFLAGS) $(OPTFLAGS) -D__KERNEL__ \
+       -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) -I$(TOPDIR)/include \
+       -fno-builtin -ffreestanding -nostdinc -isystem $(gccincdir) -pipe \
        $(PLATFORM_CPPFLAGS) -Wall -Wstrict-prototypes \
        -I$(TOPDIR)/board -c -o $(START) $(START:.o=.S)