summaryrefslogtreecommitdiff
path: root/dev-util/icmake/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/icmake/files
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/icmake/files')
-rw-r--r--dev-util/icmake/files/icmake-7.20.00-ar.patch17
-rw-r--r--dev-util/icmake/files/icmake-9.00.00-ar.patch32
-rw-r--r--dev-util/icmake/files/icmake-9.02.02-verbose-build.patch11
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-util/icmake/files/icmake-7.20.00-ar.patch b/dev-util/icmake/files/icmake-7.20.00-ar.patch
new file mode 100644
index 000000000000..e3049f18f745
--- /dev/null
+++ b/dev-util/icmake/files/icmake-7.20.00-ar.patch
@@ -0,0 +1,17 @@
+--- icmake-7.20.00/icm_bootstrap
++++ icmake-7.20.00/icm_bootstrap
+@@ -31,12 +31,13 @@
+
+ if [ "${CFLAGS}" == "" ] ; then CFLAGS="-Wall -O2 -g"; fi
+ if [ "${CC}" == "" ] ; then CC="gcc"; fi
++if [ "${AR}" == "" ] ; then AR="ar"; fi
+
+ echo Creating tmp/libicrss.a
+
+ try cd rss
+ try ${CC} -c ${CFLAGS} ${GLB} *.c
+-try ar rs ../tmp/libicrss.a *.o
++try ${AR} rs ../tmp/libicrss.a *.o
+ rm *.o
+ cd ..
+
diff --git a/dev-util/icmake/files/icmake-9.00.00-ar.patch b/dev-util/icmake/files/icmake-9.00.00-ar.patch
new file mode 100644
index 000000000000..0eff669f8e39
--- /dev/null
+++ b/dev-util/icmake/files/icmake-9.00.00-ar.patch
@@ -0,0 +1,32 @@
+--- icmake/bootstrap/flags
++++ icmake/bootstrap/flags
+@@ -14,3 +14,7 @@
+ if [ "${CC}" == "" ] ; then
+ CC="gcc"
+ fi
++
++if [ "${AR}" == "" ] ; then
++ CC="ar"
++fi
+--- icmake/bootstrap/functions
++++ icmake/bootstrap/functions
+@@ -35,7 +35,7 @@
+
+ echo -n .
+
+- try ar crs ../tmp/lib${program}.a */*.o
++ try ${AR} crs ../tmp/lib${program}.a */*.o
+
+ echo -n .
+
+--- icmake/rss/icm_bootstrap
++++ icmake/rss/icm_bootstrap
+@@ -8,7 +8,7 @@
+ echo -n .
+ try ${CC} -c ${CFLAGS} *.c
+ echo -n .
+-try ar rs ../tmp/libicrss.a *.o
++try ${AR} rs ../tmp/libicrss.a *.o
+ echo -n .
+ rm *.o
+ echo .
diff --git a/dev-util/icmake/files/icmake-9.02.02-verbose-build.patch b/dev-util/icmake/files/icmake-9.02.02-verbose-build.patch
new file mode 100644
index 000000000000..dde1af395152
--- /dev/null
+++ b/dev-util/icmake/files/icmake-9.02.02-verbose-build.patch
@@ -0,0 +1,11 @@
+--- icmake/bootstrap/functions
++++ icmake/bootstrap/functions
+@@ -2,7 +2,7 @@
+
+ try()
+ {
+- # echo $*
++ echo $*
+ $* || exit 1
+ }
+