Skip to content

Commit

Permalink
sdk: do not exclude all doc directories
Browse files Browse the repository at this point in the history
Some packages which are using local gnulib source
are expecting files to exist in the directory:

staging_dir/host/share/gnulib/doc

so delete the other doc directories directly
instead of excluding all of them.

Fixes: d167adb ("gettext-full: bootstrap to local gnulib source")
Signed-off-by: Michael Pratt <[email protected]>
  • Loading branch information
mcprat authored and Ansuel committed May 8, 2023
1 parent 91e3419 commit 7bfe7e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target/sdk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ EXCLUDE_DIRS:= \
*.install.clean \
*.install.flags \
*.install \
*/doc \
*/share/locale

SDK_DIRS = \
Expand Down Expand Up @@ -158,6 +157,8 @@ $(BIN_DIR)/$(SDK_NAME).tar.xz: clean
$(SDK_BUILD_DIR)/package/kernel/

-rm -rf $(SDK_BUILD_DIR)/$(STAGING_SUBDIR_HOST)/.prereq-build
-rm -rf $(SDK_BUILD_DIR)/$(STAGING_SUBDIR_HOST)/doc
-rm -rf $(SDK_BUILD_DIR)/$(STAGING_SUBDIR_HOST)/share/doc

-rm -f $(SDK_BUILD_DIR)/feeds.conf.default
$(if $(BASE_FEED),echo "$(BASE_FEED)" > $(SDK_BUILD_DIR)/feeds.conf.default)
Expand Down

0 comments on commit 7bfe7e0

Please sign in to comment.