diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-11-13 06:02:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-11-13 06:02:20 +0000 |
commit | 620dd7c5fd1895001a2c680d5dd1dbdbb6f3101d (patch) | |
tree | aa08afb7d58fabed8f365bf373751992b792680c /make/uclibc.mk | |
parent | 192bace39e7c0fe5c4ccf9add25b67cb37f8abdc (diff) | |
download | buildroot-novena-620dd7c5fd1895001a2c680d5dd1dbdbb6f3101d.tar.gz buildroot-novena-620dd7c5fd1895001a2c680d5dd1dbdbb6f3101d.zip |
By popular demand, use 'sed' rather than 'perl' for doing
search and replace stuff. Hopefully we do not have any
perl specific regexs that will be broken by this change,
but it seems to be working thus far anyways,
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r-- | make/uclibc.mk | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk index 03899b6a8..40e8fd9ce 100644 --- a/make/uclibc.mk +++ b/make/uclibc.mk @@ -37,27 +37,27 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) touch $(UCLIBC_DIR)/.unpacked $(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked $(LINUX_DIR)/.configured - perl -i -p -e 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(UCLIBC_DIR)/Rules.mak + sed -ie 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(UCLIBC_DIR)/Rules.mak ifeq ($(ENABLE_LOCALE),true) cp $(SOURCE_DIR)/uClibc.config-locale $(UCLIBC_DIR)/.config else cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config endif - perl -i -p -e 's,^.*TARGET_$(UCLIBC_TARGET_ARCH).*,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \ + sed -ie 's,^.*TARGET_$(UCLIBC_TARGET_ARCH).*,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \ $(UCLIBC_DIR)/.config - perl -i -p -e 's,^TARGET_ARCH.*,TARGET_ARCH=\"$(UCLIBC_TARGET_ARCH)\",g' $(UCLIBC_DIR)/.config - perl -i -p -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_DIR)\",g' \ + sed -ie 's,^TARGET_ARCH.*,TARGET_ARCH=\"$(UCLIBC_TARGET_ARCH)\",g' $(UCLIBC_DIR)/.config + sed -ie 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_DIR)\",g' \ $(UCLIBC_DIR)/.config - perl -i -p -e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \ + sed -ie 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \ $(UCLIBC_DIR)/.config - perl -i -p -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \ + sed -ie 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \ $(UCLIBC_DIR)/.config - perl -i -p -e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \ + sed -ie 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \ $(UCLIBC_DIR)/.config - perl -i -p -e 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y\nUCLIBC_HAS_LOCALE=n,g' \ + sed -ie 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y\nUCLIBC_HAS_LOCALE=n,g' \ $(UCLIBC_DIR)/.config if [ -n "$(strip $(TARGET_SOFT_FLOAT))" ] ; then \ - perl -i -p -e 's,.*HAS_FPU.*,HAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' \ + sed -ie 's,.*HAS_FPU.*,HAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' \ $(UCLIBC_DIR)/.config; \ fi $(MAKE) -C $(UCLIBC_DIR) PREFIX=$(STAGING_DIR) headers install_dev; |