summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-23 11:57:39 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-23 11:57:39 +0000
commitaae806435c2d12dfd3ba179f5e72e70418909747 (patch)
treed9376ae1bde72ff732922fb399a4b5f41c91d5e5 /extra
parentb870fba08ebb8c56e0396736ab9f20618fd3da45 (diff)
Add template for utils/Makefile and make use of it
Diffstat (limited to 'extra')
-rw-r--r--extra/scripts/Makefile.utils.lvl113
-rwxr-xr-xextra/scripts/create_makefiles.sh5
2 files changed, 18 insertions, 0 deletions
diff --git a/extra/scripts/Makefile.utils.lvl1 b/extra/scripts/Makefile.utils.lvl1
new file mode 100644
index 000000000..bdaea9fd4
--- /dev/null
+++ b/extra/scripts/Makefile.utils.lvl1
@@ -0,0 +1,13 @@
+# Makefile for uClibc
+#
+# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+#
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+#
+
+top_srcdir=../
+top_builddir=../
+include $(top_builddir)Rules.mak
+all: utils
+include Makefile.in
+include $(top_srcdir)Makerules
diff --git a/extra/scripts/create_makefiles.sh b/extra/scripts/create_makefiles.sh
index 087028673..89ea4a9b6 100755
--- a/extra/scripts/create_makefiles.sh
+++ b/extra/scripts/create_makefiles.sh
@@ -31,6 +31,11 @@ for x in */Makefile.in ; do
${USE_CMD} extra/scripts/Makefile.libs.lvl1 $(dirname ${x})/Makefile
done
+for x in utils/Makefile.in ; do
+ ${RM} $(dirname ${x})/Makefile
+ ${USE_CMD} extra/scripts/Makefile.utils.lvl1 $(dirname ${x})/Makefile
+done
+
for x in */*/Makefile.in ; do
${RM} $(dirname ${x})/Makefile
${USE_CMD} extra/scripts/Makefile.objs.lvl2 $(dirname ${x})/Makefile