From 1b6a9fa3f18fdeaa3f3869a22cd91490ffec608c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 31 Jan 2014 08:00:06 +0100 Subject: fix host build logic for non-linux --- package/alsa-lib/Makefile | 5 ++++- package/cups/Makefile | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/alsa-lib/Makefile b/package/alsa-lib/Makefile index a681ddb39..f4f798344 100644 --- a/package/alsa-lib/Makefile +++ b/package/alsa-lib/Makefile @@ -22,8 +22,11 @@ include ${TOPDIR}/mk/package.mk $(eval $(call HOST_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE})) $(eval $(call PKG_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -HOST_STYLE:= auto +ifneq ($(ADK_HOST_LINUX),y) HOST_LINUX_ONLY:= 1 +endif + +HOST_STYLE:= auto TARGET_CPPFLAGS+= -D_POSIX_C_SOURCE=1 CONFIGURE_ARGS+= --disable-python diff --git a/package/cups/Makefile b/package/cups/Makefile index e3fc672e9..4d83cf472 100644 --- a/package/cups/Makefile +++ b/package/cups/Makefile @@ -24,6 +24,10 @@ include ${TOPDIR}/mk/package.mk $(eval $(call HOST_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE})) $(eval $(call PKG_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +ifneq ($(ADK_HOST_LINUX),y) +HOST_LINUX_ONLY:= 1 +endif + HOST_STYLE:= auto HOST_CONFIGURE_ARGS+= --disable-tcp-wrappers \ --disable-webif \ -- cgit v1.2.3