Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请解释一下 mock_build_options.mk 的作用? #126

Open
27-301 opened this issue Mar 1, 2019 · 0 comments
Open

请解释一下 mock_build_options.mk 的作用? #126

27-301 opened this issue Mar 1, 2019 · 0 comments

Comments

@27-301
Copy link

27-301 commented Mar 1, 2019

为什么要针对不同平台进行屏蔽?比如 MacOS 下:

ifeq (Darwin,$(shell uname))
    CFLAGS := $(filter-out -DOTA_ENABLED,$(CFLAGS))
    CFLAGS := $(filter-out -DWIFI_PROVISION_ENABLED,$(CFLAGS))
endif

这样导致不同操作系统下编译出的结果不一致,在上层应用相同的情况下导致链接不过。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant