use cc.mk as default if someone does not want to create a separate mk file for every toolchain

Thu, 21 Sep 2023 18:02:30 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 21 Sep 2023 18:02:30 +0200
changeset 69
96d8badffe58
parent 68
c997c0978665
child 70
d79fc765fd4a

use cc.mk as default if someone does not want to create a separate mk file for every toolchain

test/make/toolchain.sh file | annotate | diff | comparison | revisions
--- a/test/make/toolchain.sh	Wed Sep 20 18:41:58 2023 +0200
+++ b/test/make/toolchain.sh	Thu Sep 21 18:02:30 2023 +0200
@@ -167,6 +167,8 @@
   echo >> "$1"
   if [ -f "make/${TOOLCHAIN_NAME}.mk" ]; then
     cat "make/${TOOLCHAIN_NAME}.mk" >> "$1"
+  elif [ -f "make/cc.mk" ]; then
+    cat "make/cc.mk" >> "$1"
   else
     echo "!!! WARNING !!! Default toolchain flags not found. Configuration might be incomplete."
   fi

mercurial