summaryrefslogtreecommitdiff
path: root/package/busybox
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 12:57:21 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 12:57:21 +0000
commit3e2f3e55790ba64c5a2e273476b764ff5bcd368f (patch)
treef990f680fb2f94a21ca49955e31468d0c958240e /package/busybox
parent4244519b90cd8107ed84062f3ca1220c32eda609 (diff)
- Adjust the install prefix for current busybox.
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/busybox.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 1fed33276..6e5301f75 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -40,6 +40,11 @@ $(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
if [ -f $(BUSYBOX_DIR)/Rules.mak ]; then \
$(SED) "s,^CROSS.*,CROSS=$(TARGET_CROSS)\n\
PREFIX=$(TARGET_DIR),;" $(BUSYBOX_DIR)/Rules.mak ; \
+ else \
+ $(SED) s,^CONFIG_PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
+ $(BUSYBOX_DIR)/.config ; \
+ $(SED) s,^PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
+ $(BUSYBOX_DIR)/.config ; \
fi
ifeq ($(BR2_LARGEFILE),y)
$(SED) "s/^.*CONFIG_LFS.*/CONFIG_LFS=y/;" $(BUSYBOX_DIR)/.config