mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	kbuild: remove deprecated 'always' and 'hostprogs-y/m'
These have no more user in the upstream code. The use of them has been warned for a while for external modules. The migration is finished. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
		
							parent
							
								
									bcf637f54f
								
							
						
					
					
						commit
						b97652bf10
					
				
					 3 changed files with 0 additions and 16 deletions
				
			
		| 
						 | 
					@ -15,7 +15,6 @@ obj-y :=
 | 
				
			||||||
obj-m :=
 | 
					obj-m :=
 | 
				
			||||||
lib-y :=
 | 
					lib-y :=
 | 
				
			||||||
lib-m :=
 | 
					lib-m :=
 | 
				
			||||||
always :=
 | 
					 | 
				
			||||||
always-y :=
 | 
					always-y :=
 | 
				
			||||||
always-m :=
 | 
					always-m :=
 | 
				
			||||||
targets :=
 | 
					targets :=
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -34,9 +34,6 @@ __clean-files	:= \
 | 
				
			||||||
	$(hostprogs-always-y) $(hostprogs-always-m) $(hostprogs-always-) \
 | 
						$(hostprogs-always-y) $(hostprogs-always-m) $(hostprogs-always-) \
 | 
				
			||||||
	$(userprogs-always-y) $(userprogs-always-m) $(userprogs-always-)
 | 
						$(userprogs-always-y) $(userprogs-always-m) $(userprogs-always-)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# deprecated
 | 
					 | 
				
			||||||
__clean-files	+= $(always) $(hostprogs-y) $(hostprogs-m) $(hostprogs-)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
__clean-files   := $(filter-out $(no-clean-files), $(__clean-files))
 | 
					__clean-files   := $(filter-out $(no-clean-files), $(__clean-files))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# clean-files is given relative to the current directory, unless it
 | 
					# clean-files is given relative to the current directory, unless it
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,18 +4,6 @@ asflags-y  += $(EXTRA_AFLAGS)
 | 
				
			||||||
ccflags-y  += $(EXTRA_CFLAGS)
 | 
					ccflags-y  += $(EXTRA_CFLAGS)
 | 
				
			||||||
cppflags-y += $(EXTRA_CPPFLAGS)
 | 
					cppflags-y += $(EXTRA_CPPFLAGS)
 | 
				
			||||||
ldflags-y  += $(EXTRA_LDFLAGS)
 | 
					ldflags-y  += $(EXTRA_LDFLAGS)
 | 
				
			||||||
ifneq ($(always),)
 | 
					 | 
				
			||||||
$(warning 'always' is deprecated. Please use 'always-y' instead)
 | 
					 | 
				
			||||||
always-y   += $(always)
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
ifneq ($(hostprogs-y),)
 | 
					 | 
				
			||||||
$(warning 'hostprogs-y' is deprecated. Please use 'hostprogs' instead)
 | 
					 | 
				
			||||||
hostprogs  += $(hostprogs-y)
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
ifneq ($(hostprogs-m),)
 | 
					 | 
				
			||||||
$(warning 'hostprogs-m' is deprecated. Please use 'hostprogs' instead)
 | 
					 | 
				
			||||||
hostprogs  += $(hostprogs-m)
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# flags that take effect in current and sub directories
 | 
					# flags that take effect in current and sub directories
 | 
				
			||||||
KBUILD_AFLAGS += $(subdir-asflags-y)
 | 
					KBUILD_AFLAGS += $(subdir-asflags-y)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue