changeset 423:2e699aa67f03

loadtools: GTA02 AP build updated
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 19 Jun 2014 03:27:16 +0000
parents 833e8fa93330
children 1ec83a5fa8b3
files loadtools/compaldummy.c loadtools/gta-ap-build.sed
diffstat 2 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loadtools/compaldummy.c	Thu Jun 19 03:27:16 2014 +0000
@@ -0,0 +1,20 @@
+/*
+ * If you need to build a version of loadtools without compalstage support,
+ * e.g., because you are building for GTA01/02 AP, substitute this dummy
+ * module in the place of compalload.c to get a passing build.
+ */
+
+void
+set_compalstage_short()
+{
+}
+
+void
+set_compalstage_fullpath()
+{
+}
+
+perform_compal_stage()
+{
+	return(0);
+}
--- a/loadtools/gta-ap-build.sed	Thu Jun 19 00:57:02 2014 +0000
+++ b/loadtools/gta-ap-build.sed	Thu Jun 19 03:27:16 2014 +0000
@@ -1,3 +1,3 @@
 s,^CC=.*$,CC=	/opt/arm-2012.03/bin/arm-none-linux-gnueabi-gcc,
 s,^CFLAGS=.*$,CFLAGS=	-O2 -march=armv4t -mtune=arm920t -DGTA0x_AP_BUILD,
-s,^EXTRA_OBJ=.*,EXTRA_OBJ=gtapower.o,
+s,^EXTRA_OBJ=.*$,EXTRA_OBJ=	compaldummy.o gtapower.o,