Changeset 920


Ignore:
Timestamp:
Jan 21, 2017, 8:31:14 PM (6 months ago)
Author:
amain
Message:

octeon-native: always do a distclean when building in farm

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/arch/octeon/erlite/arch.mk

    r911 r920  
    198198        touch $@
    199199
     200DEBWRT_CROSS_ALWAYS_DISTCLEAN := $(call qstrip,$(CONFIG_DEBWRT_CROSS_ALWAYS_DISTCLEAN))
     201
     202ifeq ($(CONFIG_DEBWRT_CROSS_ALWAYS_DISTCLEAN),y)
     203openwrt/clean: openwrt/distclean
     204else
    200205openwrt/clean:
    201206        sudo chroot $(DEBIAN_BUILD_DIR) \
     
    206211        rm -f openwrt/all
    207212        rm -f openwrt/build/kernel
    208 
     213endif
     214
     215ifeq ($(CONFIG_DEBWRT_CROSS_ALWAYS_DISTCLEAN),y)
     216openwrt/dirclean: openwrt/deliver/clean
     217else
    209218openwrt/dirclean: openwrt/clean openwrt/deliver/clean
     219endif
    210220        sudo rm -rf $(SRC_DIR_BUILD)
    211221        rm -f openwrt/build/binutils
     
    213223        rm -rf openwrt/build
    214224
     225ifeq ($(CONFIG_DEBWRT_CROSS_ALWAYS_DISTCLEAN),y)
     226openwrt/distclean: | openwrt/deliver/clean
     227else
    215228openwrt/distclean: | openwrt/dirclean openwrt/deliver/clean
     229endif
    216230        sudo rm -rf $(SRC_DIR)
    217231        rm -f openwrt/download
  • trunk/buildbot/defconfig/firmware/octeon-native.conf

    r906 r920  
    11CONFIG_DEBWRT_FIRMWARE_NATIVE=y
     2CONFIG_DEBWRT_CROSS_ALWAYS_DISTCLEAN=y
  • trunk/config/cross/config.in

    r919 r920  
    1717
    1818# Kconfig documentation: http://lxr.linux.no/#linux+v2.6.34.1/Documentation/kbuild/kconfig-language.txt
     19
     20config DEBWRT_CROSS_ALWAYS_DISTCLEAN
     21    bool
     22    default n
    1923
    2024config DEBIAN_BUILDENV_RELEASE
Note: See TracChangeset for help on using the changeset viewer.