Changeset 2d75831 in mainline


Ignore:
Timestamp:
2019-08-17T12:49:43Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fd6c8b1
Parents:
123cd6d
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-27 17:35:28)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
Message:

Copy uspace/overlay

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile

    r123cd6d r2d75831  
    2727#
    2828
    29 .PHONY: all build_dist clean_dist clean
     29.PHONY: all clean
    3030
    3131include Makefile.common
    3232
    33 all: $(VERSION_DEF) $(COMMON_MAKEFILE) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(PREBUILD) build_dist
     33all: $(VERSION_DEF) $(COMMON_MAKEFILE) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(PREBUILD)
    3434        $(MAKE) -r -f $(BUILD) PRECHECK=$(PRECHECK)
    3535ifneq ($(POSTBUILD),)
     
    3737endif
    3838
    39 build_dist: clean_dist
    40 
    41 
    42         if ls $(DIST_OVERLAY_PATH)/* >/dev/null 2>/dev/null; then \
    43                 cp -r -L $(DIST_OVERLAY_PATH)/* "$(DIST_PATH)"; \
    44         fi
    45 
    46 clean: clean_dist
     39clean:
    4740        $(MAKE) -r -f $(BUILD) clean PRECHECK=$(PRECHECK)
    4841ifneq ($(POSTBUILD),)
     
    5245        find generic/src/ arch/*/src/ genarch/src/ -name '*.o' -follow -exec rm \{\} \;
    5346        find . -name '*.d' -follow -exec rm \{\} \;
    54 
    55 clean_dist:
    56         rm -f $(INITRD).img $(COMPS).o $(COMPS).tar $(LINK)
    57         find $(USPACE_PATH)/dist -mindepth 1 -maxdepth 1 -type f -exec rm \{\} \;
    58         rm -rf $(USPACE_PATH)/dist/app
    59         rm -f $(USPACE_PATH)/dist/cfg/*
    60         rm -rf $(USPACE_PATH)/dist/srv
    61         rm -rf $(USPACE_PATH)/dist/drv/*
    62         rm -rf $(USPACE_PATH)/dist/lib/*
    63         rm -rf $(USPACE_PATH)/dist/inc/*
    64         rm -f $(USPACE_PATH)/dist/app/*
    65         rm -f $(USPACE_PATH)/dist/test/*
    66         rm -f $(USPACE_PATH)/dist/cfg/net/*
    67         rm -f $(USPACE_PATH)/dist/w/*
  • install.sh.in

    r123cd6d r2d75831  
    1111fi
    1212
     13rm -r "${DESTDIR}"
     14
    1315mkdir -p "${DESTDIR}cfg/"
    1416mkdir -p "${DESTDIR}data/"
  • meson.build

    r123cd6d r2d75831  
    423423install_script_text += 'cp -r -L -T -u "@0@/dist" "${DESTDIR}"'.format(_uspace)
    424424
     425# Copy uspace/overlay
     426install_script_text += 'if ls @0@/overlay/* >/dev/null 2>/dev/null; then'.format(_uspace)
     427install_script_text += 'cp -r -L @0@/overlay/* "${DESTDIR}"'.format(_uspace)
     428install_script_text += 'fi'
     429
     430
    425431foreach f : install_files
    426432        _cmd = 'mkdir -p "${DESTDIR}@0@" && cp -L -T "@1@" "${DESTDIR}@0@/@2@"'
Note: See TracChangeset for help on using the changeset viewer.