mirror of
https://github.com/sheumann/hush.git
synced 2025-01-14 12:30:40 +00:00
- busybox.c was removed a while ago
This commit is contained in:
parent
d6050949b8
commit
64332bf857
@ -13,7 +13,7 @@ usage_stuff = include/usage_compressed.h
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# pull in the config stuff
|
# pull in the config stuff
|
||||||
lib-all-y := applets/applets.o applets/busybox.o
|
lib-all-y := applets/applets.o
|
||||||
lib-y:=
|
lib-y:=
|
||||||
include procps/Kbuild
|
include procps/Kbuild
|
||||||
lib-all-y += $(patsubst %,procps/%,$(sort $(lib-y)))
|
lib-all-y += $(patsubst %,procps/%,$(sort $(lib-y)))
|
||||||
@ -118,14 +118,15 @@ CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q
|
|||||||
|
|
||||||
HOSTCC = gcc
|
HOSTCC = gcc
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
STRIP = strip
|
||||||
WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
|
WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
|
||||||
busybox: $(usage_stuff)
|
busybox: $(usage_stuff)
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) --combine $(WHOLE_PROGRAM) \
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) --combine $(WHOLE_PROGRAM) \
|
||||||
-funit-at-a-time -Wno-error -std=gnu99 \
|
-funit-at-a-time -Wno-error -std=gnu99 \
|
||||||
-o $(@)_unstripped $(lib-all-y:.o=.c) \
|
-o $(@)_unstripped $(lib-all-y:.o=.c) \
|
||||||
-Wl,--start-group -lcrypt -lm -Wl,--end-group
|
-Wl,--start-group -lcrypt -lm -Wl,--end-group
|
||||||
cp $(@)_unstripped $@
|
cp -f $(@)_unstripped $@
|
||||||
-strip -s -R .note -R .comment -R .version $@
|
-$(STRIP) -s -R .note -R .comment -R .version $@
|
||||||
|
|
||||||
applets/usage:
|
applets/usage:
|
||||||
$(HOSTCC) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I$(srctree)/include -o applets/usage applets/usage.c
|
$(HOSTCC) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I$(srctree)/include -o applets/usage applets/usage.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user