summaryrefslogtreecommitdiffstats
path: root/rules/rootfs.make
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-01-25 13:40:34 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2007-01-25 13:40:34 +0000
commit6a46a364063780b56d755fb40d86c55232225b90 (patch)
tree739635b844a843715cc422ef38018a526009819f /rules/rootfs.make
parent3ffd821d6122ba3996d67b50fb1f475bfdfe4a07 (diff)
downloadptxdist-6a46a364063780b56d755fb40d86c55232225b90.tar.gz
ptxdist-6a46a364063780b56d755fb40d86c55232225b90.tar.xz
* rootfs: udhcpc script now gets installed as selected in the menu
- installs the script from selectable source - some notes and help added git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6919 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/rootfs.make')
-rw-r--r--rules/rootfs.make12
1 files changed, 11 insertions, 1 deletions
diff --git a/rules/rootfs.make b/rules/rootfs.make
index f49a79a3a..027f7d09b 100644
--- a/rules/rootfs.make
+++ b/rules/rootfs.make
@@ -578,16 +578,26 @@ ifdef PTXCONF_ROOTFS_GENERIC_IPKG_CONF
endif
# -----------------------------------------------------------------------------
+ifdef PTXCONF_ROOTFS_UDHCPC
+
ifdef PTXCONF_ROOTFS_GENERIC_UDHCPC
@$(call install_copy, rootfs, 0, 0, 0754, \
$(PTXDIST_TOPDIR)/generic/etc/udhcpc.script, \
/etc/udhcpc.script, n)
+endif
+
+ifdef PTXCONF_ROOTFS_USER_UDHCPC
+ @$(call install_copy, rootfs, 0, 0, 0754, \
+ $(PTXDIST_WORKSPACE)/projectroot/etc/udhcpc.script, \
+ /etc/udhcpc.script, n)
+endif
+
# udhcp expects the script to be called /usr/share/udhcpc/default.script,
# so we make a link
@$(call install_link, rootfs, /etc/udhcpc.script, \
/usr/share/udhcpc/default.script)
-endif
+endif
# -----------------------------------------------------------------------------
ifdef PTXCONF_ROOTFS_USER_CROND_CONF
@$(call install_copy, rootfs, 0, 0, 0755, /etc/cron)