jow- / luci-ng

LuCI on Angular
84 stars 26 forks source link

luci2-ui-base: conditional node/host dependency #41

Closed ianchi closed 6 years ago

ianchi commented 7 years ago

@jow- I'm no expert at Bash/Makefiles, but I was trying something like this to conditionally add host dependency on Node only if it is not installed (or version prior to 4). The idea was to avoid a lengthy and space consuming compilation.

But it doesn't seem to work. The host dependency is compiled anyway after a make clean Any ideas or suggestions? Is there a more "natural" way of achieving this in LEDE's build system?

ianchi commented 6 years ago

Solved by e690ddc