[OpenWrt-Devel] [PATCH] allow HOST* variables to be set from config.

Felix Fietkau nbd at openwrt.org
Mon Jul 20 05:02:04 EDT 2015


On 2015-07-20 10:59, Lawrence D'Anna wrote:
> 
>> On Jul 20, 2015, at 1:57 AM, Felix Fietkau <nbd at openwrt.org> wrote:
>> 
>> On 2015-07-20 05:25, Lawrence D'Anna wrote:
>>> These HOST* variables are used to configure all the build-time tools, but the
>>> user has no ability to modify them without editing makefiles.
>>> 
>>> This patch adds a new menu to menuconfig which allows the user to set the host
>>> compilers and flags.
>>> 
>>> Signed-off-by: Lawrence D'Anna <larry at elder-gods.org>
>> Based on our discussion, I don't want to merge this patch. I think the
>> user shouldn't have to manually set host compiler and flags in
>> menuconfig. I'd prefer to fix stuff by adding missing host builds, or by
>> including extra directories in HOST_CFLAGS/HOST_LDFLAGS automatically
>> based on the detected host system.
>> 
>> - Felix
> 
> So it should look for homebrew and add /usr/local/include and /usr/local/opt/openssl/include?
Yes, add those directories with an ifeq ($(HOST_OS),Darwin)

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list