diff options
author | dir <dir@ableton.com> | 2018-01-02 18:10:24 +0100 |
---|---|---|
committer | dir <dir@ableton.com> | 2018-08-13 17:54:03 +0200 |
commit | e9a80817647b5ac556519822251abd0346b6d468 (patch) | |
tree | 95464aabbd0a023604794d6116a90add4389b2f4 /package/autologin/Makefile | |
parent | 07c3b1bf959087d37b7746189d93b929500855eb (diff) |
Add simple autologin program to be started by getty
@upstream
Diffstat (limited to 'package/autologin/Makefile')
-rw-r--r-- | package/autologin/Makefile | 33 |
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 |