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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile

    rcc1a727 r63920b0  
    4040        $(PACK) $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) arch/$(KARCH) $(COMPONENTS)
    4141
    42 $(INITRD).img: $(INITRD).fs
    43         $(MKHORD) $(PAGE_SIZE) $< $@
    44 
    45 $(INITRD).fs: build_dist
     42$(INITRD).img: build_dist
    4643ifeq ($(RDFMT),tmpfs)
    4744        $(MKTMPFS) $(DIST_PATH) $@
     
    6158                cp "$$file" "$(DIST_PATH)/lib/" ; \
    6259        done
     60ifeq ($(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"
     64endif
    6365        for file in $(RD_APPS) ; do \
    6466                cp "$$file" "$(DIST_PATH)/app/" ; \
    65         done
    66         for file in $(NET_CFG) ; do \
    67                 cp "$$file" "$(DIST_PATH)/cfg/net/" ; \
    6867        done
    6968        for drv in $(RD_DRVS) ; do \
     
    9089
    9190clean_dist:
    92         rm -f $(INITRD).fs $(INITRD).img $(COMPS_H) $(COMPS_C) $(LINK) $(LINK).comp *.co
     91        rm -f $(INITRD).img $(COMPS_H) $(COMPS_C) $(LINK) $(LINK).comp *.co
    9392        rm -f $(USPACE_PATH)/dist/srv/*
    9493        rm -rf $(USPACE_PATH)/dist/drv/*
    9594        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.