mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
meta: remove consecutive blank lines
Some of them were introduced by mass-removal of S = WORKDIR/git assignments;
rather than try to fix up (or redo) just these, I've run this sed command over
the whole tree:
sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc`
The rationale is that more than one empty line is wasting vertical screen space, and
does nothing for readability.
(From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0ad5fb3431
commit
dc9faa3cdc
@@ -116,6 +116,5 @@ do_configure () {
|
||||
export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}"
|
||||
export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}"
|
||||
|
||||
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
require recipes-devtools/gcc/gcc-${PV}.inc
|
||||
require gcc-cross-canadian.inc
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -44,7 +44,6 @@ EXTRA_OECONF_PATHS = "\
|
||||
|
||||
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
|
||||
|
||||
|
||||
do_configure:prepend () {
|
||||
install -d ${RECIPE_SYSROOT}${target_includedir}
|
||||
touch ${RECIPE_SYSROOT}${target_includedir}/limits.h
|
||||
|
||||
@@ -59,7 +59,6 @@ python gcc_multilib_setup() {
|
||||
if ('%sgcc' % mlprefix) != pn and (not pn.startswith('gcc-cross-canadian')) and pn != "nativesdk-gcc":
|
||||
return
|
||||
|
||||
|
||||
def write_config(root, files, options, dirnames, osdirnames):
|
||||
for ml_conf_file in files:
|
||||
with open(root + '/' + ml_conf_file, 'r') as f:
|
||||
@@ -142,7 +141,6 @@ python gcc_multilib_setup() {
|
||||
with open(root + '/' + ml_conf_file, 'w') as f:
|
||||
f.write(''.join(filelines))
|
||||
|
||||
|
||||
gcc_target_config_files = {
|
||||
'x86_64' : ['gcc/config/i386/t-linux64'],
|
||||
'i586' : ['gcc/config/i386/t-linux64'],
|
||||
@@ -176,7 +174,6 @@ python gcc_multilib_setup() {
|
||||
libdirx32 = 'SYSTEMLIBS_DIR'
|
||||
libdirn32 = 'SYSTEMLIBS_DIR'
|
||||
|
||||
|
||||
target_arch = (d.getVar('TARGET_ARCH_MULTILIB_ORIGINAL') if mlprefix
|
||||
else d.getVar('TARGET_ARCH'))
|
||||
if pn == "nativesdk-gcc":
|
||||
|
||||
@@ -104,7 +104,6 @@ fakeroot python do_multilib_install() {
|
||||
os.symlink(src, dest)
|
||||
return
|
||||
|
||||
|
||||
for ml in multilibs.split():
|
||||
tune = d.getVar('DEFAULTTUNE:virtclass-multilib-' + ml)
|
||||
if not tune:
|
||||
|
||||
@@ -36,7 +36,6 @@ LICENSE:${PN} = "GPL-3.0-with-GCC-exception"
|
||||
LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception"
|
||||
LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception"
|
||||
|
||||
|
||||
FILES:${PN}-dev = "\
|
||||
${base_libdir}/libgcc*.so \
|
||||
${@oe.utils.conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \
|
||||
|
||||
Reference in New Issue
Block a user