Stephane Billiart said:
the attached patch makes applet list in busybox.links correctly include tr and watchdog. Currently, they don't appear because they are prefixed with ENABLE_ in include/applets.h
This commit is contained in:
parent
ddc280ec43
commit
a930bd3332
2
Makefile
2
Makefile
@ -215,7 +215,7 @@ busybox: .depend $(libraries-y)
|
|||||||
$(CC) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group
|
$(CC) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group
|
||||||
$(STRIPCMD) $@
|
$(STRIPCMD) $@
|
||||||
|
|
||||||
busybox.links: $(top_srcdir)/applets/busybox.mkll include/config.h $(top_srcdir)/include/applets.h
|
busybox.links: $(top_srcdir)/applets/busybox.mkll include/bb_config.h $(top_srcdir)/include/applets.h
|
||||||
- $(SHELL) $^ >$@
|
- $(SHELL) $^ >$@
|
||||||
|
|
||||||
install: $(top_srcdir)/applets/install.sh busybox busybox.links
|
install: $(top_srcdir)/applets/install.sh busybox busybox.links
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
export LC_ALL=POSIX
|
export LC_ALL=POSIX
|
||||||
export LC_CTYPE=POSIX
|
export LC_CTYPE=POSIX
|
||||||
|
|
||||||
CONFIG_H=${1:-include/config.h}
|
CONFIG_H=${1:-include/bb_config.h}
|
||||||
APPLETS_H=${2:-include/applets.h}
|
APPLETS_H=${2:-include/applets.h}
|
||||||
gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |
|
gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |
|
||||||
awk '/^[ \t]*LINK/{
|
awk '/^[ \t]*LINK/{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user