diff options
author | Juergen Beisert <j.beisert@pengutronix.de> | 2006-11-12 15:37:36 +0000 |
---|---|---|
committer | Juergen Beisert <j.beisert@pengutronix.de> | 2006-11-12 15:37:36 +0000 |
commit | 3eacb1fb966e7b9de6ce113b1b91d0cef386dbfd (patch) | |
tree | 847dcc48e5c408924299eab735f8427fe7533474 /rules | |
parent | ba15a90406c1347b80445bace443c0aa1cdda14f (diff) | |
download | ptxdist-3eacb1fb966e7b9de6ce113b1b91d0cef386dbfd.tar.gz ptxdist-3eacb1fb966e7b9de6ce113b1b91d0cef386dbfd.tar.xz |
adding support for local /etc/modules file
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6315 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules')
-rw-r--r-- | rules/rootfs_configfiles.in | 13 | ||||
-rw-r--r-- | rules/rootfs_configfiles.inc | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/rules/rootfs_configfiles.in b/rules/rootfs_configfiles.in index 4669b5ef9..3097b13f6 100644 --- a/rules/rootfs_configfiles.in +++ b/rules/rootfs_configfiles.in @@ -500,6 +500,19 @@ menuconfig ROOTFS_SYSLOGNG endchoice # +# /etc/modules +# +config ROOTFS_ETC_MODULES + depends on ROOTFS + depends on ROOTFS_ETC_INITD_MODULES + bool + prompt "project's /etc/modules" + default n + help + Installs a /etc/modules file from projectroot/etc/modules in + your local project. + +# # /etc/udhcpc.script # menuconfig ROOTFS_UDHCPC diff --git a/rules/rootfs_configfiles.inc b/rules/rootfs_configfiles.inc index 21e4f3809..4248afa12 100644 --- a/rules/rootfs_configfiles.inc +++ b/rules/rootfs_configfiles.inc @@ -238,7 +238,16 @@ ifdef PTXCONF_ROOTFS_USERS_RESOLV endif endif +# ---------------------------------- +ifdef PTXCONF_ROOTFS_ETC_MODULES +# /etc/modules + @$(call install_copy, rootfs, 0, 0, 0644, \ + $(PTXDIST_WORKSPACE)/projectroot/etc/modules, \ + /etc/modules, n) +endif + +# ---------------------------------- ifdef PTXCONF_ROOTFS_GENERIC_IPKG_CONF @$(call install_copy, rootfs, 0, 0, 0644, $(PTXDIST_TOPDIR)/generic/etc/ipkg.conf, /etc/ipkg.conf, n) |