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/busybox.mk | |
parent | 192bace39e7c0fe5c4ccf9add25b67cb37f8abdc (diff) |
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/busybox.mk')
-rw-r--r-- | make/busybox.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/make/busybox.mk b/make/busybox.mk index d7b682b47..38c32035b 100644 --- a/make/busybox.mk +++ b/make/busybox.mk @@ -28,18 +28,18 @@ $(BUSYBOX_DIR)/.configured: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG) $(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) -xvf - ifeq ($(USE_BUSYBOX_SNAPSHOT),true) cp $(BUSYBOX_CONFIG) $(BUSYBOX_DIR)/.config - perl -i -p -e "s,^CROSS.*,CROSS=$(TARGET_CROSS)\n\ + sed -ie "s,^CROSS.*,CROSS=$(TARGET_CROSS)\n\ PREFIX=$(TARGET_DIR),;" $(BUSYBOX_DIR)/Rules.mak ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true) - perl -i -p -e "s/^.*DOLFS.*/DOLFS=y/;" $(BUSYBOX_DIR)/.config + sed -ie "s/^.*DOLFS.*/DOLFS=y/;" $(BUSYBOX_DIR)/.config endif $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" -C $(BUSYBOX_DIR) oldconfig else # Not using snapshot cp $(BUSYBOX_CONFIG) $(BUSYBOX_DIR)/Config.h - perl -i -p -e "s,^CROSS.*,CROSS=$(TARGET_CROSS),;" $(BUSYBOX_DIR)/Makefile - perl -i -p -e "s,^PREFIX.*,PREFIX=$(TARGET_DIR),;" $(BUSYBOX_DIR)/Makefile + sed -ie "s,^CROSS.*,CROSS=$(TARGET_CROSS),;" $(BUSYBOX_DIR)/Makefile + sed -ie "s,^PREFIX.*,PREFIX=$(TARGET_DIR),;" $(BUSYBOX_DIR)/Makefile ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true) - perl -i -p -e "s/^DOLFS.*/DOLFS=true/;" $(BUSYBOX_DIR)/Makefile + sed -ie "s/^DOLFS.*/DOLFS=true/;" $(BUSYBOX_DIR)/Makefile endif endif touch $(BUSYBOX_DIR)/.configured |