| File: meta/lnx.img/Makefile | |
|---|---|
| base-0 | patch-1 |
| Line 22 | Line 22 |
| BUILDDEPS = fs/dosfstools fs/mtools IMGDEPS = lnximg | BUILDDEPS = fs/dosfstools fs/mtools IMGDEPS = lnximg |
| lnximg_DEPENDS = kernel/linux kernel/cloop-module utils/memtest86 utils/syslinux meta/root.bin | lnximg_DEPENDS = kernel/linux-image kernel/cloop-module utils/memtest86 utils/syslinux meta/root.bin |
| # CONFIGURE_SCRIPTS = $(WORKSRC)/configure BUILD_SCRIPTS = custom | # CONFIGURE_SCRIPTS = $(WORKSRC)/configure BUILD_SCRIPTS = custom |
| Line 63 | Line 63 |
| dd conv=notrunc if=$(lnximg_DESTDIR)/boot/ldlinux.bss of=$(IMAGE) bs=512 count=1 dd conv=notrunc if=$(TEMP) of=$(IMAGE) bs=1 seek=$(BSCOPYSTART) skip=$(BSCOPYSTART) count=$(BSCOPYLEN) rm $(TEMP) | dd conv=notrunc if=$(lnximg_DESTDIR)/boot/ldlinux.bss of=$(IMAGE) bs=512 count=1 dd conv=notrunc if=$(TEMP) of=$(IMAGE) bs=1 seek=$(BSCOPYSTART) skip=$(BSCOPYSTART) count=$(BSCOPYLEN) rm $(TEMP) |
| mcopy $(STAGINGDIR)/root.bin/root.bin $(LETTER):root.bin | mcopy $(lnximg_DESTDIR)/root.bin $(LETTER):root.bin |
| cp $(lnximg_DESTDIR)/boot/bzImage $(WORKDIR)/bzImage # This is equivalent to "rdev bzImage /dev/cloop", except that we do # not require that /dev/cloop actually exist on the build system. | cp $(lnximg_DESTDIR)/boot/bzImage $(WORKDIR)/bzImage # This is equivalent to "rdev bzImage /dev/cloop", except that we do # not require that /dev/cloop actually exist on the build system. |
| Line 83 | Line 83 |
| $(MAKECOOKIE) install-custom: | $(MAKECOOKIE) install-custom: |
| install -D $(IMAGE) $(STAGINGDIR)/$(GARNAME)/$(GARNAME) | install -D $(IMAGE) $(DESTDIR)/$(GARNAME) |
| $(MAKECOOKIE) | $(MAKECOOKIE) |