mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-23 16:36:18 +04:00
30 lines
454 B
Makefile
30 lines
454 B
Makefile
bbl_subproject_deps = \
|
|
util \
|
|
machine \
|
|
dummy_payload \
|
|
|
|
bbl_hdrs = \
|
|
bbl.h \
|
|
|
|
bbl_c_srcs = \
|
|
logo.c \
|
|
|
|
bbl_asm_srcs = \
|
|
payload.S \
|
|
raw_logo.S \
|
|
|
|
payload.o: bbl_payload
|
|
|
|
bbl_payload: $(BBL_PAYLOAD)
|
|
if $(READELF) -h $< 2> /dev/null > /dev/null; then $(OBJCOPY) -O binary $< $@; else cp $< $@; fi
|
|
|
|
raw_logo.o: bbl_logo_file
|
|
|
|
bbl_logo_file: @BBL_LOGO_FILE@
|
|
cat $^ | sed 's/$$/\r/' > $@
|
|
|
|
bbl_test_srcs =
|
|
|
|
bbl_install_prog_srcs = \
|
|
bbl.c \
|