1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_DESCR
:= very simple init
10 PKG_SECTION
:= base
/init
14 include $(ADK_TOPDIR
)/mk
/package.mk
16 $(eval
$(call PKG_template
,SIMPLEINIT
,simpleinit
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
20 INSTALL_STYLE
:= manual
22 TARGET_CPPFLAGS
+= -DCONFIG_USER_INIT_CONSOLE_SH
26 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(TARGET_LDFLAGS
) \
27 -o
$(WRKBUILD
)/simpleinit
$(WRKBUILD
)/simpleinit.c
30 $(INSTALL_DIR
) $(IDIR_SIMPLEINIT
)/etc
31 $(CP
) .
/files
/rc
$(IDIR_SIMPLEINIT
)/etc
32 $(CP
) .
/files
/inittab
$(IDIR_SIMPLEINIT
)/etc
33 $(INSTALL_DIR
) $(IDIR_SIMPLEINIT
)/sbin
34 $(INSTALL_BIN
) $(WRKBUILD
)/simpleinit
$(IDIR_SIMPLEINIT
)/sbin
/init
36 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk