Index: boot/arch/ppc32/loader/Makefile
===================================================================
--- boot/arch/ppc32/loader/Makefile	(revision 63cda71efb0a2f95861470401dbc781d7f284896)
+++ boot/arch/ppc32/loader/Makefile	(revision 228b13511773d4e4522facc70f00a9efccb1be5e)
@@ -27,4 +27,7 @@
 #
 
+include ../../../../version
+include ../../../Makefile.config
+
 ## Toolchain configuration
 #
@@ -47,5 +50,13 @@
 endif
 
-CFLAGS = -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc -msoft-float -m32
+CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc -msoft-float -m32
+
+ifdef REVISION
+	CFLAGS += "-DREVISION=\"$(REVISION)\""
+endif
+
+ifdef TIMESTAMP
+	CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\""
+endif
 
 SOURCES = \
