Commit f38b18a0 authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Fix 'export-objs' usage in Makefiles.

Noted by Keith Owens.
parent d891ea7b
...@@ -24,6 +24,4 @@ endif # CONFIG_MULTIQUAD ...@@ -24,6 +24,4 @@ endif # CONFIG_MULTIQUAD
obj-y += irq.o common.o obj-y += irq.o common.o
endif # CONFIG_VISWS endif # CONFIG_VISWS
export-objs += $(obj-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -2,6 +2,6 @@ O_TARGET := base.o ...@@ -2,6 +2,6 @@ O_TARGET := base.o
obj-y := core.o sys.o interface.o fs.o power.o obj-y := core.o sys.o interface.o fs.o power.o
export-objs := $(obj-y) export-objs := core.o fs.o power.o sys.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
O_TARGET := driver.o O_TARGET := driver.o
export-objs := access.o hotplug.o pci-driver.o pci.o pool.o probe.o proc.o search.o
obj-y += access.o probe.o pci.o pool.o quirks.o \ obj-y += access.o probe.o pci.o pool.o quirks.o \
compat.o names.o pci-driver.o search.o compat.o names.o pci-driver.o search.o
obj-$(CONFIG_PM) += power.o obj-$(CONFIG_PM) += power.o
...@@ -37,8 +39,6 @@ ifndef CONFIG_X86 ...@@ -37,8 +39,6 @@ ifndef CONFIG_X86
obj-y += syscall.o obj-y += syscall.o
endif endif
export-objs := $(obj-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
names.o: names.c devlist.h classlist.h names.o: names.c devlist.h classlist.h
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
# Makefile for native language support # Makefile for native language support
# #
O_TARGET = nls.o
export-objs := nls_base.o
obj-y := nls_base.o obj-y := nls_base.o
obj-m := obj-m :=
obj-n := obj-n :=
...@@ -53,8 +56,4 @@ obj-$(CONFIG_NLS_KOI8_U) += nls_koi8-u.o nls_koi8-ru.o ...@@ -53,8 +56,4 @@ obj-$(CONFIG_NLS_KOI8_U) += nls_koi8-u.o nls_koi8-ru.o
obj-$(CONFIG_NLS_ABC) += nls_abc.o obj-$(CONFIG_NLS_ABC) += nls_abc.o
obj-$(CONFIG_NLS_UTF8) += nls_utf8.o obj-$(CONFIG_NLS_UTF8) += nls_utf8.o
export-objs = $(obj-y)
O_TARGET = nls.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment