mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-11-03 11:48:17 +00:00
Remove target directory prior to extraction.
This commit is contained in:
@@ -123,7 +123,7 @@ $(K_ARCHIVE_PATH):
|
|||||||
# The extracted kernel sources
|
# The extracted kernel sources
|
||||||
#
|
#
|
||||||
$(K_SOURCE_DIR)/Makefile: $(K_ARCHIVE_PATH)
|
$(K_SOURCE_DIR)/Makefile: $(K_ARCHIVE_PATH)
|
||||||
mkdir -p $(K_TARGET_DIR) && cd $(K_TARGET_DIR) && tar kxf $(K_ARCHIVE_PATH)
|
rm -rf $(K_TARGET_DIR) && mkdir -p $(K_TARGET_DIR) && cd $(K_TARGET_DIR) && tar kxf $(K_ARCHIVE_PATH)
|
||||||
touch -c $(K_SOURCE_DIR)/Makefile
|
touch -c $(K_SOURCE_DIR)/Makefile
|
||||||
$(K_MAKE) mrproper
|
$(K_MAKE) mrproper
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user