[source] docs: remove all refrences in Makefiles/scripts

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 30 01:14:53 PST 2016


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/59261cbf38001b121f94642a4f225fbe082b1b7d

commit 59261cbf38001b121f94642a4f225fbe082b1b7d
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Wed Nov 30 10:00:41 2016 +0100

    docs: remove all refrences in Makefiles/scripts
    
    The SDK Makefile still trys to copy the docs folder which was removed
    with 882f4d2d63272abce8c1966983aa10178e2e971f. This causes an SDK build
    error.
    
    All other removals are just cleanup.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 include/toplevel.mk     | 6 ------
 scripts/checkpatch.pl   | 2 +-
 scripts/symlink-tree.sh | 1 -
 target/sdk/Makefile     | 2 +-
 4 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/include/toplevel.mk b/include/toplevel.mk
index 81329ac..f31884d 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -223,12 +223,6 @@ package/symlinks-clean:
 help:
 	cat README
 
-docs docs/compile: FORCE
-	@$(_SINGLE)$(SUBMAKE) -C docs compile
-
-docs/clean: FORCE
-	@$(_SINGLE)$(SUBMAKE) -C docs clean
-
 distclean:
 	rm -rf bin build_dir .config* dl feeds key-build* logs package/feeds package/openwrt-packages staging_dir tmp
 	@$(_SINGLE)$(SUBMAKE) -C scripts/config clean
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 9858e62..c4b7437 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -391,7 +391,7 @@ sub top_of_openwrt_tree {
 
 	my @tree_check = (
 		"BSDmakefile", "Config.in", "LICENSE", "Makefile", "README",
-		"docs", "feeds.conf.default", "include", "package", "rules.mk",
+		"feeds.conf.default", "include", "package", "rules.mk",
 		"scripts", "target", "toolchain", "tools"
 	);
 
diff --git a/scripts/symlink-tree.sh b/scripts/symlink-tree.sh
index 3b7ce47..aa169e2 100755
--- a/scripts/symlink-tree.sh
+++ b/scripts/symlink-tree.sh
@@ -10,7 +10,6 @@ FILES="
 	Makefile
 	README
 	dl
-	docs
 	feeds.conf.default
 	include
 	package
diff --git a/target/sdk/Makefile b/target/sdk/Makefile
index 54c50ab..de77d1a 100644
--- a/target/sdk/Makefile
+++ b/target/sdk/Makefile
@@ -67,7 +67,7 @@ all: compile
 
 $(BIN_DIR)/$(SDK_NAME).tar.xz: clean
 	mkdir -p $(SDK_BUILD_DIR)/dl $(SDK_BUILD_DIR)/package
-	$(CP) -L $(INCLUDE_DIR) $(SCRIPT_DIR) $(TOPDIR)/docs $(SDK_BUILD_DIR)/
+	$(CP) -L $(INCLUDE_DIR) $(SCRIPT_DIR) $(SDK_BUILD_DIR)/
 	$(TAR) -cf - -C $(TOPDIR) \
 		`cd $(TOPDIR); find $(KDIR_BASE) -name \*.ko` \
 		`cd $(TOPDIR); find $(KDIR_BASE)/firmware/ -newer $(KDIR_BASE)/firmware/Makefile \



More information about the lede-commits mailing list