Phil Sutter dixit:
>| ifeq ($(FWRT_PACKAGE_$(1)),y)
>What did that check again? Ah, wait: it's 'y'. What's done when this
>check succeeds? So again, what did you say this was for?
Yes, I meant the other one, the ifneq with empty.
>> >Rewriting all calls to PKG_template is not acceptable.
>>
>> Why? We're touching all Makefiles anyway. Plus, this'd be easy to script.
>
>I don't care the work, I just see no sense in it.
OK, then, that falls out of discussion.
>For me it's enough if a simple 'make' builds everything
>that has been selected, a 'make package=foobar' may build every
>sub-package of foobar.
"enough", yeah. But a 'make package=foo' doesn't set them to 'y' either.
>> >> An alternative solution:
>> >> - ifeq ($(FWRT_PACKAGE_$(1)),y)
>> >> + ifneq (${FWRT_PACKAGE_$(1)}${DEVELOPER},)
>> >
>> >This is about what I want to have, but best defined as make function, so
>> >one doesn't have to type so much, and it's easy to remember.
>>
>> No, that's INSIDE the template.
>
>Yes, where else??
Okay, I'll prepare a patch then.
//mirabile
--
"Using Lynx is like wearing a really good pair of shades: cuts out
the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
-- Henry Nelson, March 1999
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers