Skip to content

Commit

Permalink
re-enable the case-sensitive check and add notes for macos user
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkie committed Nov 22, 2019
1 parent a3fe57d commit ee7047a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ For MacOS, you need to install some GNU tools which the openwrt is required:
$ brew install gnu-tar gnu-getopt findutils m4
```

> Linux source tree requires a case-sensitive file system, make sure your workspace is APFS (case-sensitive) before you start.
The openwrt [check gnu-getopt version](./openwrt/include/prereq-build.mk) via the `gnugetopt` command name, so the following link is also required:

```sh
Expand Down
8 changes: 4 additions & 4 deletions openwrt/include/prereq-build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ $(eval $(call TestHostCommand,working-make, \
$(MAKE) -v | grep -E 'Make (3\.8[1-9]|3\.9[0-9]|[4-9]\.)'))

# disabled because macos doesn't own this.c
# $(eval $(call TestHostCommand,case-sensitive-fs, \
# OpenWrt can only be built on a case-sensitive filesystem, \
# rm -f $(TMP_DIR)/test.*; touch $(TMP_DIR)/test.fs; \
# test ! -f $(TMP_DIR)/test.FS))
$(eval $(call TestHostCommand,case-sensitive-fs, \
OpenWrt can only be built on a case-sensitive filesystem, \
rm -f $(TMP_DIR)/test.*; touch $(TMP_DIR)/test.fs; \
test ! -f $(TMP_DIR)/test.FS))

$(eval $(call SetupHostCommand,gcc, \
Please install the GNU C Compiler (gcc), \
Expand Down

0 comments on commit ee7047a

Please sign in to comment.