Changes in boot/Makefile [63920b0:cc1a727] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile

    r63920b0 rcc1a727  
    4040        $(PACK) $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) arch/$(KARCH) $(COMPONENTS)
    4141
    42 $(INITRD).img: build_dist
     42$(INITRD).img: $(INITRD).fs
     43        $(MKHORD) $(PAGE_SIZE) $< $@
     44
     45$(INITRD).fs: build_dist
    4346ifeq ($(RDFMT),tmpfs)
    4447        $(MKTMPFS) $(DIST_PATH) $@
     
    5861                cp "$$file" "$(DIST_PATH)/lib/" ; \
    5962        done
    60 ifeq ($(CONFIG_DEVEL_FILES), y)
    61         mkdir "$(DIST_PATH)/inc/c/"
    62         cp -r -L "$(USPACE_PATH)/lib/c/include/." "$(DIST_PATH)/inc/c/"
    63         cat "$(USPACE_PATH)/lib/c/arch/$(UARCH)/_link.ld" | sed 's/^STARTUP(.*)$$//g' > "$(DIST_PATH)/inc/_link.ld"
    64 endif
    6563        for file in $(RD_APPS) ; do \
    6664                cp "$$file" "$(DIST_PATH)/app/" ; \
     65        done
     66        for file in $(NET_CFG) ; do \
     67                cp "$$file" "$(DIST_PATH)/cfg/net/" ; \
    6768        done
    6869        for drv in $(RD_DRVS) ; do \
     
    8990
    9091clean_dist:
    91         rm -f $(INITRD).img $(COMPS_H) $(COMPS_C) $(LINK) $(LINK).comp *.co
     92        rm -f $(INITRD).fs $(INITRD).img $(COMPS_H) $(COMPS_C) $(LINK) $(LINK).comp *.co
    9293        rm -f $(USPACE_PATH)/dist/srv/*
    9394        rm -rf $(USPACE_PATH)/dist/drv/*
    9495        rm -f $(USPACE_PATH)/dist/lib/*
    95         rm -rf $(USPACE_PATH)/dist/inc/*
    9696        rm -f $(USPACE_PATH)/dist/app/*
    9797        rm -f $(USPACE_PATH)/dist/cfg/net/*
Note: See TracChangeset for help on using the changeset viewer.