summaryrefslogtreecommitdiff
path: root/package/autologin/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2018-08-16 21:49:48 +0200
committerGogs <gogs@fake.local>2018-08-16 21:49:48 +0200
commit71bd053dc6b5677d8de0fab9d2f7e512a09e7ad6 (patch)
tree83c060bb6e269ee4267c7e59dac4242faf8bfa69 /package/autologin/Makefile
parent56d412cecdfb4c0be541db9ef4153f7616608d28 (diff)
parentdee2a0e2483bfda415c64f8e168763c63e71f7f6 (diff)
Merge branch 'gogs-master' of ableton-dir/openadk into master
Diffstat (limited to 'package/autologin/Makefile')
-rw-r--r--package/autologin/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/autologin/Makefile b/package/autologin/Makefile
new file mode 100644
index 000000000..cc6fdb66a
--- /dev/null
+++ b/package/autologin/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= autologin
+PKG_VERSION:= 1.0
+PKG_RELEASE:= 1
+PKG_DESCR:= tool to automatically login a user with getty
+PKG_SECTION:= sys/misc
+
+PKG_NOPARALLEL:= 1
+NO_DISTFILES:= 1
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,AUTOLOGIN,autologin,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+TARGET_CPPFLAGS+= -I../autologin
+TARGET_CPPFLAGS+= -D_GNU_SOURCE
+
+do-build:
+ $(CC) src/autologin.c -o $(WRKBUILD)/autologin
+
+autologin-install:
+ $(INSTALL_DIR) $(IDIR_AUTOLOGIN)/bin
+ $(INSTALL_BIN) $(WRKBUILD)/autologin $(IDIR_AUTOLOGIN)/bin
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk