diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-11-19 17:17:56 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-11-19 17:17:56 +0000 |
commit | 4f889ada561fbdffeefa1a8327d5b8939b021685 (patch) | |
tree | 925b247ee7718930f470b2c1843cb15e80a045dd /make/udhcp.mk | |
parent | 93b677ea4256da1236ae5c4a14b78010e60266d9 (diff) | |
download | buildroot-novena-4f889ada561fbdffeefa1a8327d5b8939b021685.tar.gz buildroot-novena-4f889ada561fbdffeefa1a8327d5b8939b021685.zip |
automatically detect if we have a usable version of sed
installed. If not, we will now build our own version.
Diffstat (limited to 'make/udhcp.mk')
-rw-r--r-- | make/udhcp.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make/udhcp.mk b/make/udhcp.mk index d92dd5c2b..46cb203d0 100644 --- a/make/udhcp.mk +++ b/make/udhcp.mk @@ -44,9 +44,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 -i -e 's/pump/udhcpc/' $(TARGET_DIR)/etc/pcmcia/network* - sed -i -e 's/PUMP/UDHCPC/' $(TARGET_DIR)/etc/pcmcia/network* - sed -i -e '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/ |