~hui.wang/alsa-driver/dkms-packaging.audiosdw-sofdev-ww14

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Hui Wang
  • Date: 2020-04-01 04:59:35 UTC
  • Revision ID: hui.wang@canonical.com-20200401045935-78byfynjpbbdf1fy
fix build error

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
# cleans the source subdirectory only
230
230
clean-src:
231
231
        -$(Q)rm $(LOCAL_BUILD)/unpatched-source
232
 
        -$(Q)rm -rf $(SRC_DIR)/*
 
232
#       -$(Q)rm -rf $(SRC_DIR)/*
233
233
        -$(Q)rm -rf $(QUILT_PC_DIR)
234
234
 
235
235
 
244
244
 
245
245
clean: 
246
246
# created by create-dirs
247
 
        -$(Q)rm -rf $(LOCAL_BUILD)
248
 
#       find $(LOCAL_BUILD) -iname *.o | xargs rm -rf
249
 
#       find $(LOCAL_BUILD) -iname *.o.cmd | xargs rm -rf
250
 
#       find $(LOCAL_BUILD) -iname *.ko | xargs rm -rf
251
 
#       find $(LOCAL_BUILD) -iname *.ko.cmd | xargs rm -rf
 
247
#       -$(Q)rm -rf $(LOCAL_BUILD)
 
248
        find $(LOCAL_BUILD) -iname *.o | xargs rm -rf
 
249
        find $(LOCAL_BUILD) -iname *.o.cmd | xargs rm -rf
 
250
        find $(LOCAL_BUILD) -iname *.ko | xargs rm -rf
 
251
        find $(LOCAL_BUILD) -iname *.ko.cmd | xargs rm -rf
252
252
 
253
253
# created by driver-build 
254
254
        -$(Q)rm -f $(TOP)/Module.symvers  $(TOP)/modules.order