230 ENV_LDFLAGS=$LDFLAGS |
230 ENV_LDFLAGS=$LDFLAGS |
231 ENV_CXXFLAGS=$CXXFLAGS |
231 ENV_CXXFLAGS=$CXXFLAGS |
232 |
232 |
233 # Toolchain detection |
233 # Toolchain detection |
234 # this will insert make vars to config.mk |
234 # this will insert make vars to config.mk |
235 source make/toolchain.sh |
235 . make/toolchain.sh |
236 |
236 |
237 # add user specified flags to config.mk |
237 # add user specified flags to config.mk |
238 echo >> $TEMP_DIR/config.mk |
238 echo >> $TEMP_DIR/config.mk |
239 if [ ! -z "${ENV_CFLAGS}" ]; then |
239 if [ ! -z "${ENV_CFLAGS}" ]; then |
240 echo "CFLAGS += $ENV_CFLAGS" >> $TEMP_DIR/config.mk |
240 echo "CFLAGS += $ENV_CFLAGS" >> $TEMP_DIR/config.mk |