# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: target/ecn-node/parse-config # Copyright (C) 2012 The OpenSDE Project # # 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 --- ecn_apply_pkg_conf() { [ ! -f "$1"/pkg_conf/$pkg.conf ] || . "$1"/pkg_conf/$pkg.conf } # append target specific patch files ecn_append_patchfiles() { for x in "$1"/pkg_patch/$pkg/*.patch do [ ! -f $x ] || var_append patchfiles ' ' $x done } ecndir=$base/target/$SDECFG_TRG_ECN ecn_apply_pkg_conf "$ecndir" ecn_append_patchfiles "$ecndir" unset ecndir echo_status "Just minimal documentation files will be flisted" ecn_flist_just_minimal_docs() { sed -i -e '/\.\(html\|pdf\|ps\|tex\)$/d;' \ -e '/\.\(gif\|jpg\|png\)$/d;' \ -e "/.*\/share\/\(doc\|gtk-doc\).*\/html\/.*/d;" \ $builddir/flist.txt } hook_add postflist 5 "ecn_flist_just_minimal_docs"