File: meta/root.bin/Makefile
base-0 patch-1
Line 23Line 23
BUILDDEPS = fs/e2fsprogs

IMGDEPS = rootbin
BUILDDEPS = fs/e2fsprogs

IMGDEPS = rootbin
rootbin_DEPENDS = boot/busybox kernel/linux
rootbin_DEPENDS = boot/busybox kernel/linux-modules
# CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = custom
# CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = custom
Line 62Line 62
        cp $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.o $(WORKDIR)/modules
        tar -C $(WORKDIR)/modules/ -cvf - usb-ohci.o usb-uhci.o usb-storage.o | gzip -9 > $(WORKDIR)/modules.tar.gz
        # XXX: The following script needs to be fleshed out better.
        cp $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.o $(WORKDIR)/modules
        tar -C $(WORKDIR)/modules/ -cvf - usb-ohci.o usb-uhci.o usb-storage.o | gzip -9 > $(WORKDIR)/modules.tar.gz
        # XXX: The following script needs to be fleshed out better.
        debugfs -f $(WORKDIR)/buildext2.cmd -w $(EXT2FILE) | /bin/cat
        LD_LIBRARY_PATH=$(build_DESTDIR)$(build_libdir) debugfs -f $(WORKDIR)/buildext2.cmd -w $(EXT2FILE) | /bin/cat
        gzip -9 -c $(EXT2FILE) > $(WORKDIR)/$(GARNAME)
        $(MAKECOOKIE)

install-custom:
        gzip -9 -c $(EXT2FILE) > $(WORKDIR)/$(GARNAME)
        $(MAKECOOKIE)

install-custom:
        install -D $(WORKDIR)/$(GARNAME) $(STAGINGDIR)/$(GARNAME)/$(GARNAME)
        install -D $(WORKDIR)/$(GARNAME) $(DESTDIR)/$(GARNAME)
        $(MAKECOOKIE)
        $(MAKECOOKIE)