summaryrefslogtreecommitdiffstats
path: root/package/x11r7/mcookie
diff options
context:
space:
mode:
Diffstat (limited to 'package/x11r7/mcookie')
-rw-r--r--package/x11r7/mcookie/Config.in8
-rw-r--r--package/x11r7/mcookie/mcookie.mk20
2 files changed, 28 insertions, 0 deletions
diff --git a/package/x11r7/mcookie/Config.in b/package/x11r7/mcookie/Config.in
new file mode 100644
index 000000000..e7ab757c1
--- /dev/null
+++ b/package/x11r7/mcookie/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_MCOOKIE
+ bool "mcookie"
+ default n
+ help
+ cookie generator for X server
+
+ http://www.x.org
+
diff --git a/package/x11r7/mcookie/mcookie.mk b/package/x11r7/mcookie/mcookie.mk
new file mode 100644
index 000000000..c26c9e519
--- /dev/null
+++ b/package/x11r7/mcookie/mcookie.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# mcookie
+#
+#############################################################
+
+$(TARGET_DIR)/usr/bin/mcookie: package/xorg/mcookie.c
+ $(TARGET_CC) -Wall -Os -s package/xorg/mcookie.c -o $(TARGET_DIR)/usr/bin/mcookie
+
+
+mcookie: $(TARGET_DIR)/usr/bin/mcookie
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_MCOOKIE)),y)
+TARGETS+=mcookie
+endif