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/iproute2.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/iproute2.mk')
-rw-r--r-- | make/iproute2.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make/iproute2.mk b/make/iproute2.mk index 9819fdbad..7a33034b6 100644 --- a/make/iproute2.mk +++ b/make/iproute2.mk @@ -29,14 +29,14 @@ $(IPROUTE2_DIR)/.unpacked: $(DL_DIR)/$(IPROUTE2_SOURCE) #$(DL_DIR)/$(IPROUTE2_PA touch $(IPROUTE2_DIR)/.unpacked $(IPROUTE2_DIR)/.configured: $(IPROUTE2_DIR)/.unpacked - sed -i -e "s,-I/usr/include/db3,," $(IPROUTE2_DIR)/Makefile - sed -i -e "s,^KERNEL_INCLUDE.*,KERNEL_INCLUDE=$(LINUX_DIR)/include," \ + $(SED) "s,-I/usr/include/db3,," $(IPROUTE2_DIR)/Makefile + $(SED) "s,^KERNEL_INCLUDE.*,KERNEL_INCLUDE=$(LINUX_DIR)/include," \ $(IPROUTE2_DIR)/Makefile - sed -i -e "s,^LIBC_INCLUDE.*,LIBC_INCLUDE=$(STAGING_DIR)/include," \ + $(SED) "s,^LIBC_INCLUDE.*,LIBC_INCLUDE=$(STAGING_DIR)/include," \ $(IPROUTE2_DIR)/Makefile # For now disable compiling of the misc directory because it seems to fail rm -rf $(IPROUTE2_DIR)/misc - sed -i -e "s, misc,," $(IPROUTE2_DIR)/Makefile + $(SED) "s, misc,," $(IPROUTE2_DIR)/Makefile touch $(IPROUTE2_DIR)/.configured $(IPROUTE2_DIR)/tc/tc: $(IPROUTE2_DIR)/.configured |