From 5b95b9df10dbec4c30014764f634de3be67a1c1f Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 27 Jun 2008 22:18:22 +0300 Subject: [PATCH] packages: cleaned a bit the script that does busybox config --- pkg_conf/busybox.conf | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/pkg_conf/busybox.conf b/pkg_conf/busybox.conf index 9f08014..d19cb23 100644 --- a/pkg_conf/busybox.conf +++ b/pkg_conf/busybox.conf @@ -1,19 +1,26 @@ # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: target/mnemosyne/pkg_conf/busybox.conf +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2002 - 2006 Alejandro Mery -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -var_append conffiles ' ' $base/target/$SDECFG_TRG_MNEMOSYNE/busybox/mnemosyne.config +# don't forget to unset this later +BB_MNEMOSYNE_DIR="$base/target/$SDECFG_TRG_MNEMOSYNE/busybox" -[ "$SDECFG_TRG_MNEMOSYNE_FOOTPRINT" != embedded ] || - var_append conffiles ' ' $base/target/$SDECFG_TRG_MNEMOSYNE/busybox/embedded.config - +var_append conffiles ' ' $BB_MNEMOSYNE_DIR/mnemosyne.config + +case "$SDECFG_TRG_MNEMOSYNE_FOOTPRINT" in + embedded) var_append conffiles ' ' $BB_MNEMOSYNE_DIR/embedded.config + ;; +esac + +unset BB_MNEMOSYNE_DIR