Browse Source

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 <[email protected]>
Mathias Kresin 9 năm trước cách đây
mục cha
commit
59261cbf38
4 tập tin đã thay đổi với 2 bổ sung9 xóa
  1. 0 6
      include/toplevel.mk
  2. 1 1
      scripts/checkpatch.pl
  3. 0 1
      scripts/symlink-tree.sh
  4. 1 1
      target/sdk/Makefile

+ 0 - 6
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

+ 1 - 1
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"
 	);
 

+ 0 - 1
scripts/symlink-tree.sh

@@ -10,7 +10,6 @@ FILES="
 	Makefile
 	README
 	dl
-	docs
 	feeds.conf.default
 	include
 	package

+ 1 - 1
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 \