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
:= compressed config filesystem
10 PKG_SECTION
:= base
/apps
11 PKG_URL
:= http
://openadk.org
/
13 PKG_CFLINE_CFGFS
:= select BUSYBOX_COMM@
14 PKG_CFLINE_CFGFS
+= select BUSYBOX_DIFF@
15 PKG_CFLINE_CFGFS
+= select BUSYBOX_MD5SUM@
16 PKG_CFLINE_CFGFS
+= select BUSYBOX_XARGS@
17 PKG_CFLINE_CFGFS
+= select BUSYBOX_SORT@
18 PKG_CFLINE_CFGFS
+= select BUSYBOX_FEATURE_SORT_BIG@
19 PKG_CFLINE_CFGFS
+= depends on
!ADK_TARGET_ROOTFS_NFSROOT
&& !ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
&& !ADK_TARGET_ROOTFS_INITRAMFS
&& !ADK_TARGET_ROOTFS_INITRAMFSARCHIVE
&& !ADK_TARGET_ROOTFS_JFFS2
&& !ADK_TARGET_ROOTFS_SQUASHFS
&& !ADK_TARGET_ROOTFS_ISO
20 PKG_DFLT_CFGFS
:= y if
!(ADK_APPLIANCE_TOOLCHAIN || ADK_TOOLCHAIN_ARCHIVE || ADK_PKG_TEST
)
22 WRKDIST
= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}
25 include ${ADK_TOPDIR}/mk
/package.mk
27 $(eval
$(call PKG_template
,CFGFS
,cfgfs
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
29 # runtime problems on x86_64 with O3
30 TARGET_CFLAGS
:= $(subst O3
,Os
,$(TARGET_CFLAGS
))
33 INSTALL_STYLE
:= manual
36 ${INSTALL_DIR} ${IDIR_CFGFS}/sbin
37 ${INSTALL_BIN} ${WRKBUILD}/fwcf.sh
${IDIR_CFGFS}/sbin
/cfgfs
38 ${INSTALL_BIN} ${WRKBUILD}/fwcf.helper.out \
39 ${IDIR_CFGFS}/sbin
/cfgfs.helper
40 cd
${IDIR_CFGFS}/sbin
; for tgt in halt reboot poweroff
; do \
44 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk