FreeCalypso > hg > freecalypso-sw
diff gsm-fw/cfgmagic/processconf.sh @ 828:a8d0bbba7886
build flashable images by default when PS is included and target has small RAM
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 06 Apr 2015 02:32:04 +0000 |
parents | 2d3f29ef866d |
children | a862a41f26b7 |
line wrap: on
line diff
--- a/gsm-fw/cfgmagic/processconf.sh Mon Apr 06 01:48:17 2015 +0000 +++ b/gsm-fw/cfgmagic/processconf.sh Mon Apr 06 02:32:04 2015 +0000 @@ -121,8 +121,14 @@ export_to_mk BUILD_COMPONENTS -# We can build flashable images now, but we still default to ramImage. -BUILD_DEFAULT_IMAGE=ramImage +# The default build image type depends on the target and features +if [ -f "cfgmagic/defimage.$TARGET" ] +then + . "cfgmagic/defimage.$TARGET" +else + BUILD_DEFAULT_IMAGE=ramImage +fi + export_to_mk BUILD_DEFAULT_IMAGE # Now generate the output files!