diff gsm-fw/cfgmagic/post-target @ 522:2c9c2b95ddec

FC version of l1_rf12.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 13 Jul 2014 07:48:14 +0000
parents 6f4cadd1fd7f
children 631fb20ff8d4
line wrap: on
line diff
--- a/gsm-fw/cfgmagic/post-target	Thu Jul 10 15:52:36 2014 +0000
+++ b/gsm-fw/cfgmagic/post-target	Sun Jul 13 07:48:14 2014 +0000
@@ -105,6 +105,13 @@
 export_to_c	RF_FAM
 export_to_c	RF_PG
 
+if [ -z "$RF_PA" ]
+then
+	echo "Error: target.$TARGET failed to define RF_PA" 1>&2
+	exit 1
+fi
+export_to_c	RF_PA
+
 # !!! Dirty hack !!!
 #
 # All targets which we currently support or have realistic prospects of