Updates: https://github.com/openwrt/luci/issues/8195
This fixes the primary symptom (subsequent builds reusing stale
products), but not the root cause (the build running in-tree).
Signed-off-by: novenary enneagon <novenary@kwak.zip>
echo "export const revision = '$(LUCI_VERSION)', branch = '$(LUCI_GITBRANCH)';" > $@
clean:
- rm -f contrib/lemon lib/*.o lib/plural_formula.c lib/plural_formula.h core.so version.uc
+ rm -f contrib/lemon lib/*.o lib/plural_formula.c lib/plural_formula.h *.o core.so jsmin po2lmo version.uc
jsmin: jsmin.o
$(CC) $(LDFLAGS) -o $@ $^