|
|
@ -12,6 +12,23 @@ |
|
|
|
# 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;' \ |
|
|
@ -19,5 +36,5 @@ echo_status "Just minimal documentation files will be flisted" |
|
|
|
-e "/.*\/share\/\(doc\|gtk-doc\).*\/html\/.*/d;" \ |
|
|
|
$builddir/flist.txt |
|
|
|
} |
|
|
|
hook_add postflist 5 "ecn_flist_just_minimal_docs" |
|
|
|
hook_add postflist 5 "ecn_flist_just_minimal_docs" |
|
|
|
|