mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
e223da96bf
This is essentially a revert of 86f69fe9c0
("Staging: workaround build system bug"), but to call it a revert would
imply it was wrong -- rather it seems more like it is just no longer
required anymore.
It doesn't list the full details of the failing use case, but the most
obvious would appear to be a "make allnoconfig" that subsequently had set
just CONFIG_STAGING=y in the .config file, to give:
paul@builder:~/git/linux-head$ grep STAGING ../staging-allno/.config
CONFIG_STAGING=y
# CONFIG_STAGING_MEDIA is not set
# CONFIG_STAGING_BOARD is not set
paul@builder:~/git/linux-head$
After building this .config (on ARM, just to be different), we see that
built-in.o is created, and the final vmlinux links OK:
paul@builder:~/git/linux-head$ ls -l ../staging-allno/drivers/staging/built-in.o
-rw-rw-r-- 1 paul paul 257 Nov 16 18:06 ../staging-allno/drivers/staging/built-in.o
paul@builder:~/git/linux-head$ file ../staging-allno/drivers/staging/built-in.o
../staging-allno/drivers/staging/built-in.o: ELF 32-bit LSB relocatable, ARM, version 1, not stripped
paul@builder:~/git/linux-head$ nm ../staging-allno/drivers/staging/built-in.o
nm: ../staging-allno/drivers/staging/built-in.o: no symbols
paul@builder:~/git/linux-head$ ls -l ../staging-allno/vmlinux
-rwxrwxr-x 1 paul paul 1236326 Nov 16 18:07 ../staging-allno/vmlinux
paul@builder:~/git/linux-head$
I also tested an "allmodconfig" and did not see any problems there
either. Switching back to x86-64 and testing several things there didn't
show any issues either. So it appears we do not need to carry the
workaround in tree any longer.
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
44 lines
1.5 KiB
Makefile
44 lines
1.5 KiB
Makefile
# Makefile for staging directory
|
|
|
|
obj-y += media/
|
|
obj-$(CONFIG_SLICOSS) += slicoss/
|
|
obj-$(CONFIG_PRISM2_USB) += wlan-ng/
|
|
obj-$(CONFIG_COMEDI) += comedi/
|
|
obj-$(CONFIG_RTL8192U) += rtl8192u/
|
|
obj-$(CONFIG_RTL8192E) += rtl8192e/
|
|
obj-$(CONFIG_R8712U) += rtl8712/
|
|
obj-$(CONFIG_R8188EU) += rtl8188eu/
|
|
obj-$(CONFIG_R8723AU) += rtl8723au/
|
|
obj-$(CONFIG_RTS5208) += rts5208/
|
|
obj-$(CONFIG_NETLOGIC_XLR_NET) += netlogic/
|
|
obj-$(CONFIG_OCTEON_ETHERNET) += octeon/
|
|
obj-$(CONFIG_OCTEON_USB) += octeon-usb/
|
|
obj-$(CONFIG_VT6655) += vt6655/
|
|
obj-$(CONFIG_VT6656) += vt6656/
|
|
obj-$(CONFIG_VME_BUS) += vme/
|
|
obj-$(CONFIG_IIO) += iio/
|
|
obj-$(CONFIG_FB_SM750) += sm750fb/
|
|
obj-$(CONFIG_FB_XGI) += xgifb/
|
|
obj-$(CONFIG_USB_EMXX) += emxx_udc/
|
|
obj-$(CONFIG_SPEAKUP) += speakup/
|
|
obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4) += ste_rmi4/
|
|
obj-$(CONFIG_MFD_NVEC) += nvec/
|
|
obj-$(CONFIG_STAGING_RDMA) += rdma/
|
|
obj-$(CONFIG_ANDROID) += android/
|
|
obj-$(CONFIG_STAGING_BOARD) += board/
|
|
obj-$(CONFIG_WIMAX_GDM72XX) += gdm72xx/
|
|
obj-$(CONFIG_LTE_GDM724X) += gdm724x/
|
|
obj-$(CONFIG_FIREWIRE_SERIAL) += fwserial/
|
|
obj-$(CONFIG_GOLDFISH) += goldfish/
|
|
obj-$(CONFIG_LUSTRE_FS) += lustre/
|
|
obj-$(CONFIG_DGNC) += dgnc/
|
|
obj-$(CONFIG_MTD_SPINAND_MT29F) += mt29f_spinand/
|
|
obj-$(CONFIG_GS_FPGABOOT) += gs_fpgaboot/
|
|
obj-$(CONFIG_CRYPTO_SKEIN) += skein/
|
|
obj-$(CONFIG_UNISYSSPAR) += unisys/
|
|
obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD) += clocking-wizard/
|
|
obj-$(CONFIG_FB_TFT) += fbtft/
|
|
obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/
|
|
obj-$(CONFIG_WILC1000) += wilc1000/
|
|
obj-$(CONFIG_MOST) += most/
|