summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-01-23 10:55:41 +0000
committerEric Andersen <andersen@codepoet.org>2005-01-23 10:55:41 +0000
commit62071ed437c7624925429f8e723c2a0c0cbd8f4e (patch)
tree467a56ad998cfd2633698af681693b350cfc25c5 /package
parent0a87bc7b58258026c51aa479774b33828dccf236 (diff)
Patch from pdinoto :
0000036: [PATCH] udhcpc: Allow build w/o PCMCIA This patch makes missing PCMCIA config files non-fatal to allow using udhcpc without pcmcia-cs package
Diffstat (limited to 'package')
-rw-r--r--package/udhcp/udhcp.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/udhcp/udhcp.mk b/package/udhcp/udhcp.mk
index 32f5ddf4f..7360b9cfc 100644
--- a/package/udhcp/udhcp.mk
+++ b/package/udhcp/udhcp.mk
@@ -45,9 +45,9 @@ $(UDHCP_DIR)/udhcpc: $(UDHCP_DIR)/.unpacked
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" prefix="$(TARGET_DIR)" -C $(UDHCP_DIR)
$(TARGET_DIR)/sbin/udhcpc: $(UDHCP_DIR)/udhcpc
- $(SED) 's/pump/udhcpc/' $(TARGET_DIR)/etc/pcmcia/network*
- $(SED) 's/PUMP/UDHCPC/' $(TARGET_DIR)/etc/pcmcia/network*
- $(SED) 's/DHCP="n"/DHCP="y"/' $(TARGET_DIR)/etc/pcmcia/network*
+ -$(SED) 's/pump/udhcpc/' $(TARGET_DIR)/etc/pcmcia/network*
+ -$(SED) 's/PUMP/UDHCPC/' $(TARGET_DIR)/etc/pcmcia/network*
+ -$(SED) 's/DHCP="n"/DHCP="y"/' $(TARGET_DIR)/etc/pcmcia/network*
mkdir -p $(TARGET_DIR)/sbin
rm -f $(TARGET_DIR)/sbin/udhcpc
cp $(UDHCP_DIR)/udhcpc $(TARGET_DIR)/sbin/