summaryrefslogtreecommitdiffstats
path: root/rules/dhcp.make
diff options
context:
space:
mode:
author(no author) <(no author)@33e552b5-05e3-0310-8538-816dae2090ed>2004-09-08 13:55:28 +0000
committer(no author) <(no author)@33e552b5-05e3-0310-8538-816dae2090ed>2004-09-08 13:55:28 +0000
commit2affbaf1dd9057bd48bdb469098a5376d0eec7a2 (patch)
tree5af46988f37c0b2b3182702ee87dba8dd590ee06 /rules/dhcp.make
parent6e9ae497798e7484d03e22dafe88376b994bea60 (diff)
downloadptxdist-2affbaf1dd9057bd48bdb469098a5376d0eec7a2.tar.gz
ptxdist-2affbaf1dd9057bd48bdb469098a5376d0eec7a2.tar.xz
BSP: etherwake added, sudo added (broken), some fixes, new WYSTUP
config. git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.5.2-trunk@1701 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/dhcp.make')
-rw-r--r--rules/dhcp.make6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules/dhcp.make b/rules/dhcp.make
index 822304292..36a2735c9 100644
--- a/rules/dhcp.make
+++ b/rules/dhcp.make
@@ -73,12 +73,14 @@ DHCP_PATH = PATH=$(CROSS_PATH)
DHCP_ENV = $(CROSS_ENV)
#DHCP_ENV +=
+# linux-2.2 is the way to go ;-)
+
$(STATEDIR)/dhcp.prepare: $(dhcp_prepare_deps)
@$(call targetinfo, $@)
@$(call clean, $(DHCP_DIR)/config.cache)
cd $(DHCP_DIR) && \
$(DHCP_PATH) $(DHCP_ENV) \
- ./configure $(PTXCONF_GNU_TARGET)
+ ./configure "linux-2.2"
touch $@
# ----------------------------------------------------------------------------
@@ -115,6 +117,8 @@ dhcp_targetinstall_deps = $(STATEDIR)/dhcp.compile
$(STATEDIR)/dhcp.targetinstall: $(dhcp_targetinstall_deps)
@$(call targetinfo, $@)
+ install -c -m 755 $(DHCP_DIR)/work.linux-2.2/server/dhcpd $(ROOTDIR)/usr/sbin
+ $(CROSSSTRIP) -R .notes -R .comment $(ROOTDIR)/usr/sbin/dhcpd
touch $@
# ----------------------------------------------------------------------------