facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
17 lines
319 B
Bash
17 lines
319 B
Bash
#!/bin/bash
|
|
source_em()
|
|
{
|
|
local current_script="$em_script"
|
|
em_script=$1
|
|
source_sh $1
|
|
em_script=$current_script
|
|
}
|
|
fragment()
|
|
{
|
|
if [ ${BASH_VERSINFO[3]} -ge 3 ]; then
|
|
local lineno=$[${BASH_LINENO[0]} + 1]
|
|
echo >> e${EMULATION_NAME}.c "#line $lineno \"$em_script\""
|
|
fi
|
|
cat >> e${EMULATION_NAME}.c
|
|
}
|