From: Bernhard Reutner-Fischer Date: Wed, 6 Dec 2006 15:29:00 +0000 (-0000) Subject: - adjust to kernel's build infrastructure. X-Git-Tag: 1_4_0~270 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc95f579322c8e2286c50443f9ce8c88922c7da5;p=oweals%2Fbusybox.git - adjust to kernel's build infrastructure. --- diff --git a/Makefile.custom b/Makefile.custom index 254279178..3fbf4a866 100644 --- a/Makefile.custom +++ b/Makefile.custom @@ -107,11 +107,11 @@ docs/busybox.net/BusyBox.html: docs/busybox.pod # documentation, cross-reference # Modern distributions already ship synopsis packages (e.g. debian) # If you have an old distribution go to http://synopsis.fresco.org/ -syn_tgt := $(wildcard $(patsubst %,%/*.c,$(SRC_DIRS))) -syn := $(patsubst %.c, %.syn, $(syn_tgt)) +syn_tgt = $(wildcard $(patsubst %,%/*.c,$(busybox-alldirs))) +syn = $(patsubst %.c, %.syn, $(syn_tgt)) %.syn: %.c - synopsis -p C -l Comments.SSDFilter,Comments.Previous $(INCS) -Wp,verbose,debug,preprocess,cppflags="'$(CFLAGS) $(EXTRA_CFLAGS) $(LDFLAGS) $(PROG_CFLAGS) $(PROG_LDFLAGS) $(CFLAGS_COMBINE) $(APPLETS_DEFINE) $(BUSYBOX_DEFINE)'" -o $@ $< + synopsis --verbose --debug -p C -l Comments.SSDFilter,Comments.Previous $(INCS) -Wp,verbose=True,debug=True,preprocess=True,cppflags="'$(CFLAGS) $(EXTRA_CFLAGS) $(LDFLAGS) $(PROG_CFLAGS) $(PROG_LDFLAGS) $(CFLAGS_COMBINE) $(APPLETS_DEFINE) $(BUSYBOX_DEFINE)'" -o $@ $< .PHONY: html html: $(syn)