Changeset 695


Ignore:
Timestamp:
Nov 21, 2015, 11:13:26 PM (4 years ago)
Author:
amain
Message:

Fix clean target

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r694 r695  
    3535include config/config.mk
    3636
    37 ifeq ($(CONFIG_DEBWRT_FIRMWARE),n)
     37ifeq ($(CONFIG_DEBWRT_FIRMWARE),y)
    3838        include openwrt/openwrt.mk
    3939        include openwrt/openwrt-deliver.mk
    40 test1:
    41         echo "hoi"
    4240endif
    4341
     
    7270        @echo "Note: wait a couple of minutes before rebooting your device. It takes time to write the firmware to the flash."
    7371
     72ifeq ($(CONFIG_DEBWRT_FIRMWARE),n)
    7473clean: openwrt/clean debian/clean config/clean plugins/clean
    7574        @rm -f .config .config.old
     75else
     76clean: debian/clean config/clean plugins/clean
     77        @rm -f .config .config.old
     78endif
    7679
    7780.PHONY: clean
  • trunk/debian/debian.mk

    r694 r695  
    1919        include $(TOPDIR)/debian/buildenv/debian.mk
    2020        include $(TOPDIR)/debian/package/debian.mk
     21        DEBIAN_CLEAN+=debian/package/clean debian/buildenv/clean
    2122endif
    2223
    2324ifeq ($(CONFIG_ROOTFS_DEBIAN),y)
    2425        include $(TOPDIR)/debian/rootfs/debian.mk
     26        DEBIAN_CLEAN+=debian/rootfs/clean
    2527endif
    2628
    2729debian/all:
    2830
    29 debian/clean: debian/package/clean debian/buildenv/clean debian/rootfs/clean
     31debian/clean: $(DEBIAN_CLEAN)
    3032
    3133.PHONY: debian/all \
Note: See TracChangeset for help on using the changeset viewer.