~marc-coiffier/Omega

c4f09ca2f3b96fd857844b3133d978435d4f4235 — Marc Coiffier 7 years ago 8000e2b
Automatic commit on Thu Jul 13 22:23:01 CEST 2017
1 files changed, 4 insertions(+), 6 deletions(-)

M Setup
M Setup => Setup +4 -6
@@ 22,12 22,10 @@ prepare "$BUILD/kernel.bin" = Omega.LD "$BUILD/ld.conf" "${o_files[@]}"
prepare "$BUILD/bootsector.bin" = Omega.ASM "$SRC/boot/bootsector.S" "$BUILD/constants.S"
prepare "$BUILD/Omega.img" = Omega.IMG "$BUILD/"{bootsector,kernel}".bin"

case "$1" in
    package)
	Setup.use Pkg
	Pkg.package Pkg.files usr/share/omega/Omega.img=.build/Omega.img
	;;
esac
if Setup.params -package; then
    Setup.use Pkg
    Pkg.package Pkg.files usr/share/omega/Omega.img=.build/Omega.img
fi

function Omega.IMG() {
    local out="$1" ; shift