Hi Ted, Maybe a stupid idea, but is there a tab in front of the depends? Does removing it help?
Seb Am 29. August 2017 19:08:11 MESZ schrieb Ted Hess <th...@kitschensync.net>: >Hi all - > >I have a package (ffmpeg) build problem which is trying to specify a >different >DEPENDS for soft-float systems and one for hard-float. The package >definition is >as follows: > >> define Package/libffmpeg-full >> $(call Package/libffmpeg/Default) >> TITLE+= (full) >> DEPENDS+= @BUILD_PATENTED +alsa-lib +PACKAGE_libopus:libopus >> ifeq ($(CONFIG_SOFT_FLOAT),y) >> DEPENDS+= +PACKAGE_shine:shine >> else >> DEPENDS+= +PACKAGE_lame-lib:lame-lib +PACKAGE_libx264:libx264 >> endif >> VARIANT:=full >> endef > >Thinking the 'ifeq', etc is not proper within a function definition, I >have also >tried: > > DEPENDS+=$(if >$(CONFIG_SOFT_FLOAT),+PACKAGE_shine:shine,+PACKAGE_lame- >lib:lame-lib +PACKAGE_libx264:libx264) > >In both cases, the behavior is as if CONFIG_SOFT_FLOAT is not defined. > >Any help would be greatly appreciated. > >/ted > > >_______________________________________________ >Lede-dev mailing list >Lede-dev@lists.infradead.org >http://lists.infradead.org/mailman/listinfo/lede-dev _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev