search for: kprog

Displaying 5 results from an estimated 5 matches for "kprog".

Did you mean: prog
2019 Jan 20
0
[klibc:master] Build and install shared binaries only if KLIBCSHAREDFLAGS is defined
...or klibc +include $(srctree)/$(KLIBCSRC)/arch/$(KLIBCARCHDIR)/MCONFIG + include $(srctree)/$(obj)/Kbuild # Directories to visit diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index de1cd27..7a8ad2a 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -304,7 +304,10 @@ ifdef kprogs # Compile klibc-programs for the target # =========================================================================== -__build : $(kprog-dirs) $(static-y) $(shared-y) +__build : $(kprog-dirs) $(static-y) +ifdef KLIBCSHAREDFLAGS +__build : $(shared-y) +endif # Descend if needed $(sort $(add...
2018 Jun 27
0
[PATCH] add more PHONY targets to $(PHONY)
...rget and make sure it is a ':=' variable targets := -.phony: __build +PHONY := __build __build: # Read .config if it exist, otherwise ignore @@ -374,7 +374,7 @@ endif # Descending # --------------------------------------------------------------------------- -.PHONY: $(subdir-y) $(kprog-dirs) $(klib-dirs) +PHONY += $(subdir-y) $(kprog-dirs) $(klib-dirs) $(sort $(subdir-y) $(kprog-dirs) $(klib-dirs)): $(lib-target) $(Q)$(MAKE) $(klibc)=$@ @@ -419,3 +419,7 @@ endif # Usage: # $(Q)$(MAKE) $(klibc)=dir klibc := -rR -f $(srctree)/scripts/Kbuild.klibc obj + +# Declare the conten...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...cket.o dhcp_proto.o +# +##### +# For a klibc libary file do like this +# klibc/Kbuild +# klib-y := error.o pipe.o zlib/ +# +##### +# Handling of compiler/linker options +# # To set directory wide CFLAGS use: # EXTRA_KLIBCCFLAGS := -DDEBUG # To set directory wide AFLAGS use: @@ -146,10 +161,22 @@ kprog-objs := $(patsubst %/, %/lib.a, $( targets += $(static-y) $(shared-y) +##### +# klib-y handling +# .o files to build in this dir +klib-real-objs := $(patsubst %/,,$(klib-y)) +# Directories we need to visit before libs are up-to-date +klib-dirs := $(patsubst %/,%,$(filter %/, $(klib-y))) +# rep...
2019 Jan 18
0
[klibc:master] add more PHONY targets to $(PHONY)
...rget and make sure it is a ':=' variable targets := -.phony: __build +PHONY := __build __build: # Read .config if it exist, otherwise ignore @@ -374,7 +374,7 @@ endif # Descending # --------------------------------------------------------------------------- -.PHONY: $(subdir-y) $(kprog-dirs) $(klib-dirs) +PHONY += $(subdir-y) $(kprog-dirs) $(klib-dirs) $(sort $(subdir-y) $(kprog-dirs) $(klib-dirs)): $(lib-target) $(Q)$(MAKE) $(klibc)=$@ @@ -419,3 +419,7 @@ endif # Usage: # $(Q)$(MAKE) $(klibc)=dir klibc := -rR -f $(srctree)/scripts/Kbuild.klibc obj + +# Declare the conten...
2012 May 17
5
[PATCH 1/1] kbuild: sync with kernel 3.4-rc7
...\ + ) + +echo-why = $(call escsq, $(strip $(why))) +endif diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index fb399f5..f500d53 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -381,7 +381,7 @@ $(sort $(subdir-y) $(kprog-dirs) $(klib-dirs)): $(lib-target) # Add FORCE to the prequisites of a target to force it to be always rebuilt. # --------------------------------------------------------------------------- -.PHONY: FORCE +PHONY += FORCE FORCE: -- 1.7.10