diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2007-02-23 11:55:27 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2007-02-23 11:55:27 +0000 |
commit | 4e65a9271e43d277c9efd100a843339302becd55 (patch) | |
tree | e5b0028bf2bedd4205e80c5b7075d0af252cdcf3 /package | |
parent | 5462e361f4badba334d1787b96a0fb6df9a33b97 (diff) | |
download | buildroot-novena-4e65a9271e43d277c9efd100a843339302becd55.tar.gz buildroot-novena-4e65a9271e43d277c9efd100a843339302becd55.zip |
Set CONFIG_PREFIX for all versions
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/busybox.mk | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index dd2a5f62f..c35295838 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -63,13 +63,13 @@ endif $(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE) cp -f $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_DIR)/.config + $(SED) s,^CONFIG_PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \ + $(BUSYBOX_DIR)/.config ; ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_0_1)),y) $(SED) "s,^CROSS.*,CROSS=$(TARGET_CROSS)\n\PREFIX=$(TARGET_DIR),;" \ $(BUSYBOX_DIR)/Rules.mak ; endif ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_1_3)),y) - $(SED) s,^CONFIG_PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \ - $(BUSYBOX_DIR)/.config ; $(SED) s,^PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \ $(BUSYBOX_DIR)/.config ; endif @@ -79,14 +79,7 @@ ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_2_2_1)),y) $(SED) s,^PREFIX=.*,CROSS_COMPILER_PREFIX=\"$(TARGET_CROSS)\", \ $(BUSYBOX_DIR)/.config ; endif -# either 1.4.0 or 1.4.1 -ifneq ($(strip $(BR2_BUSYBOX_VERSION_1_4_0))$(strip $(BR2_BUSYBOX_VERSION_1_4_1)),) - $(SED) s,^PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \ - $(BUSYBOX_DIR)/.config ; -endif ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y) - $(SED) s,^CONFIG_PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \ - $(BUSYBOX_DIR)/.config ; $(SED) s,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX=\"$(TARGET_CROSS)\", \ $(BUSYBOX_DIR)/.config ; $(SED) s,^PREFIX=.*,CROSS_COMPILER_PREFIX=\"$(TARGET_CROSS)\", \ |