Changeset 32537 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Sep 16, 2010 7:40:20 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 65919
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/Makefile
r32504 r32537 145 145 endif 146 146 147 ifneq ($(MAKECMDGOALS),clean) 148 147 149 ifeq ($(KERNELRELEASE),) 148 150 … … 275 277 install -m 0664 $(MODULE).$(MODULE_EXT) $(MODULE_DIR) 276 278 279 else # eq ($(MAKECMDGOALS),clean) 280 281 ifndef KERN_DIR 282 KERN_DIR := /lib/modules/$(shell uname -r)/build 283 ifeq ($(wildcard $(KERN_DIR)/Makefile),) 284 KERN_DIR := /usr/src/linux 285 endif 286 endif 287 ifeq ($(wildcard $(KERN_DIR)/Makefile),) 288 289 clean: 290 find . \( -name \*.o -o -name \*.cmd \) -print0 | xargs -0 rm -f 291 rm -rf .tmp_ver* $(MODULE).* Module.symvers Modules.symvers modules.order 292 293 else 294 277 295 clean: 278 296 $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) -C $(KERN_DIR) clean 297 298 endif 299 300 endif # eq($(MAKECMDGOALS),clean)
Note:
See TracChangeset
for help on using the changeset viewer.