e169-stats: rework makefile patch to be more general
Allow the makefile patch to pass CFLAGS, CPPFLAGS, and LDFLAGS Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39803 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
e169-stats: e169-stats.c
|
||||
- gcc -Wall -o e169-stats e169-stats.c -lcurses
|
||||
+ $(CC) -Wall -o e169-stats e169-stats.c -lcurses -I$(STAGING_DIR)/usr/include -L$(STAGING_DIR)/usr/lib
|
||||
+ $(CC) $(CFLAGS) -Wall -o e169-stats e169-stats.c $(CPPFLAGS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
-rm e169-stats *.core
|
||||
|
Reference in New Issue
Block a user