summaryrefslogtreecommitdiff
path: root/recipes/glibc/files/generate-supported.mk
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/glibc/files/generate-supported.mk')
-rw-r--r--recipes/glibc/files/generate-supported.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/glibc/files/generate-supported.mk b/recipes/glibc/files/generate-supported.mk
new file mode 100644
index 0000000000..d2a28c2dc6
--- /dev/null
+++ b/recipes/glibc/files/generate-supported.mk
@@ -0,0 +1,11 @@
+#!/usr/bin/make
+
+include $(IN)
+
+all:
+ rm -f $(OUT)
+ touch $(OUT)
+ for locale in $(SUPPORTED-LOCALES); do \
+ [ $$locale = true ] && continue; \
+ echo $$locale | sed 's,/, ,' >> $(OUT); \
+ done