Skip to content

Commit

Permalink
change symlink to hard copy
Browse files Browse the repository at this point in the history
  • Loading branch information
jeonghanlee committed Sep 21, 2018
1 parent 6a5831b commit 29accfe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure/E3/RULES_ETHERLAB
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ conf:
.PHONY: dkms_add dkms_remove dkms_build dkms_install dkms_uninstall

dkms_add: conf
sudo -E bash -c 'ln -sf $(TOP)/$(E3_MODULE_SRC_PATH) /usr/src/$(E3_MODULE_NAME)-$(E3_MODULE_VERSION)'
$(QUIET) sudo install -d 755 /usr/src/$(E3_MODULE_NAME)-$(E3_MODULE_VERSION)
sudo cp -r $(TOP)/$(E3_MODULE_SRC_PATH)/* /usr/src/$(E3_MODULE_NAME)-$(E3_MODULE_VERSION)/
$(QUIET) sudo -E bash -c '$(E3_MODULE_MAKE_CMDS) dkms_add'

dkms_remove: conf
$(QUIET) sudo -E bash -c '$(E3_MODULE_MAKE_CMDS) dkms_remove'
sudo rm -rf /usr/src/$(E3_MODULE_NAME)-$(E3_MODULE_VERSION)/

dkms_build:
$(QUIET) sudo -E bash -c '$(E3_MODULE_MAKE_CMDS) dkms_build'
Expand Down

0 comments on commit 29accfe

Please sign in to comment.