On 15.02.2010 17:58, Raphaël HUCK wrote:
> +MAKE_ARGS += CCOPT="$(TARGET_CFLAGS)"
>  
>  define Build/Compile/libupnp-sample
>       $(MAKE) -C $(PKG_BUILD_DIR) \
> -             CCOPT="$(TARGET_CFLAGS)" \
>               DESTDIR="$(PKG_INSTALL_DIR)" \
>               check
> +     $(MAKE) -C $(PKG_BUILD_DIR)/upnp/sample \
> +             upnp_tv_device upnp_tv_ctrlpt
>  endef


MAKE_ARGS is ignored, remember? Either CCOPT is not needed or you have
to use MAKE_FLAGS .. But you have a Compile definition. Hence you have
to add it manually to the make parameters. But you deleted the parameter
with your patch.
I guess the parameter is used during compiling and not with install.

check include/package-defaults.mk .. it really clears up things.

bud
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to