Package: netcfg Severity: wishlist Tags: patch In testing for #496647, I found it useful to add a Makefile rule to build a standalone ethtool-lite. It doesn't get built by 'all', or as part of the package building process, but it might make life a bit easier for others in the future, so it'd be nice to see it in SVN.
- Matt
Index: Makefile =================================================================== --- Makefile (revision 66154) +++ Makefile (working copy) @@ -29,6 +29,12 @@ netcfg-static: netcfg-static.o static.o netcfg: netcfg.o dhcp.o static.o ethtool-lite.o +ethtool-lite: ethtool-lite-test.o + $(CC) -o $@ $< $(LDOPTS) + +ethtool-lite-test.o: ethtool-lite.c + $(CC) -c $(CFLAGS) -DTEST $(DEFS) $(INCS) -o $@ $< + $(TARGETS): $(COMMON_OBJS) $(CC) -o $@ $^ $(LDOPTS)