M7350/bootable/bootloader/lk/target/mdm9607/tools/makefile
2024-09-09 08:57:42 +00:00

15 lines
351 B
Makefile

#Makefile to generate appsboot.mbn
ifeq ($(BOOTLOADER_OUT),.)
APPSBOOTOUT_DIR := $(BUILDDIR)
else
APPSBOOTOUT_DIR := $(BOOTLOADER_OUT)/../..
endif
ABOOTMBN := appsboot.mbn
APPSBOOTHEADER: $(ABOOTMBN)
$(ABOOTMBN): $(OUTELF_STRIP) $(OUTBIN)
cp $(OUTBIN) $(APPSBOOTOUT_DIR)/appsboot.raw
$(hide) cp -f $(OUTELF_STRIP) $(APPSBOOTOUT_DIR)/$(ABOOTMBN)