]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Makefile: drop -D__CHECK_ENDIAN__ from cflags
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 02:07:46 +0000 (04:07 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 22:13:43 +0000 (00:13 +0200)
That's the default now, no need for makefiles to set it.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
38 files changed:
drivers/bluetooth/Makefile
drivers/net/can/Makefile
drivers/net/ethernet/altera/Makefile
drivers/net/ethernet/atheros/alx/Makefile
drivers/net/ethernet/freescale/Makefile
drivers/net/wireless/ath/Makefile
drivers/net/wireless/ath/wil6210/Makefile
drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
drivers/net/wireless/broadcom/brcm80211/brcmsmac/Makefile
drivers/net/wireless/intel/iwlegacy/Makefile
drivers/net/wireless/intel/iwlwifi/Makefile
drivers/net/wireless/intel/iwlwifi/dvm/Makefile
drivers/net/wireless/intel/iwlwifi/mvm/Makefile
drivers/net/wireless/intersil/orinoco/Makefile
drivers/net/wireless/mediatek/mt7601u/Makefile
drivers/net/wireless/realtek/rtlwifi/Makefile
drivers/net/wireless/realtek/rtlwifi/btcoexist/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8192c/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8192de/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8192se/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8723be/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8723com/Makefile
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/Makefile
drivers/net/wireless/ti/wl1251/Makefile
drivers/net/wireless/ti/wlcore/Makefile
drivers/staging/rtl8188eu/Makefile
drivers/staging/rtl8192e/Makefile
drivers/staging/rtl8192e/rtl8192e/Makefile
net/bluetooth/Makefile
net/ieee802154/Makefile
net/mac80211/Makefile
net/mac802154/Makefile
net/wireless/Makefile

index b1fc29a697b74ad700f622b5bd571f25b1f6d7ba..80627187c8b68253c6ba4d101c5ca8c2f43dcfd9 100644 (file)
@@ -40,5 +40,3 @@ hci_uart-$(CONFIG_BT_HCIUART_QCA)     += hci_qca.o
 hci_uart-$(CONFIG_BT_HCIUART_AG6XX)    += hci_ag6xx.o
 hci_uart-$(CONFIG_BT_HCIUART_MRVL)     += hci_mrvl.o
 hci_uart-objs                          := $(hci_uart-y)
-
-ccflags-y += -D__CHECK_ENDIAN__
index 26ba4b794a0bd0b62ec3149ee851d396baea1029..7a85495dbb0c436f1f8ba30285c2f304c08a21ac 100644 (file)
@@ -31,5 +31,4 @@ obj-$(CONFIG_CAN_TI_HECC)     += ti_hecc.o
 obj-$(CONFIG_CAN_XILINXCAN)    += xilinx_can.o
 obj-$(CONFIG_PCH_CAN)          += pch_can.o
 
-subdir-ccflags-y += -D__CHECK_ENDIAN__
 subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) += -DDEBUG
index 3eff2fd3997e36ef128983fcaf080f595a693715..d4a187e453698bbe96589921f97d5ea38bc3d5fb 100644 (file)
@@ -5,4 +5,3 @@
 obj-$(CONFIG_ALTERA_TSE) += altera_tse.o
 altera_tse-objs := altera_tse_main.o altera_tse_ethtool.o \
 altera_msgdma.o altera_sgdma.o altera_utils.o
-ccflags-y += -D__CHECK_ENDIAN__
index 5901fa407d52b150b2793337cbc6e4ec3beea1f8..ed4a605874a3c58543f4bc443d745fc792212b4a 100644 (file)
@@ -1,3 +1,2 @@
 obj-$(CONFIG_ALX) += alx.o
 alx-objs := main.o ethtool.o hw.o
-ccflags-y += -D__CHECK_ENDIAN__
index 4a13115155c9c2516380eafd0bebc691c2c06f8c..c46df5c82af5fde96d5342939ebee79cb0fdf9ad 100644 (file)
@@ -4,8 +4,6 @@
 
 obj-$(CONFIG_FEC) += fec.o
 fec-objs :=fec_main.o fec_ptp.o
-CFLAGS_fec_main.o := -D__CHECK_ENDIAN__
-CFLAGS_fec_ptp.o := -D__CHECK_ENDIAN__
 
 obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o
 ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y)
index 89f8d5979402dfaecd9d7565798804ed581cf261..4cdebc7659dd894220bf10bc6e2204ce5c37a257 100644 (file)
@@ -19,6 +19,4 @@ ath-objs :=   main.o \
 ath-$(CONFIG_ATH_DEBUG) += debug.o
 ath-$(CONFIG_ATH_TRACEPOINTS) += trace.o
 
-ccflags-y += -D__CHECK_ENDIAN__
-
 CFLAGS_trace.o := -I$(src)
index 11b544b26c748a71262f162713dc888a89547318..89bf2f9eca1da68227adbd6658aef481e9500987 100644 (file)
@@ -22,5 +22,3 @@ wil6210-y += p2p.o
 
 # for tracing framework to find trace.h
 CFLAGS_trace.o := -I$(src)
-
-subdir-ccflags-y += -D__CHECK_ENDIAN__
index d1568bed1ad1a4bba67d1e48d739d14676bd4de3..0383ba559edccaaad719ff2ec08bec1606a56108 100644 (file)
@@ -19,8 +19,6 @@ ccflags-y += \
        -Idrivers/net/wireless/broadcom/brcm80211/brcmfmac      \
        -Idrivers/net/wireless/broadcom/brcm80211/include
 
-ccflags-y += -D__CHECK_ENDIAN__
-
 obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
 brcmfmac-objs += \
                cfg80211.o \
index 960e6b86bbcb54be2c4b416923caa82dd6a5c208..ed83f33aceb734530e53ce266ae1dd6476cc1d7e 100644 (file)
@@ -16,7 +16,6 @@
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 ccflags-y := \
-       -D__CHECK_ENDIAN__ \
        -Idrivers/net/wireless/broadcom/brcm80211/brcmsmac \
        -Idrivers/net/wireless/broadcom/brcm80211/brcmsmac/phy \
        -Idrivers/net/wireless/broadcom/brcm80211/include
index c985a01a07314a4e90284f36bb622fab3be05cdd..c826a6b985bb86dab5e675c5a35cf79e708f669e 100644 (file)
@@ -13,5 +13,3 @@ iwl4965-$(CONFIG_IWLEGACY_DEBUGFS) += 4965-debug.o
 obj-$(CONFIG_IWL3945)  += iwl3945.o
 iwl3945-objs           := 3945-mac.o 3945.o 3945-rs.o
 iwl3945-$(CONFIG_IWLEGACY_DEBUGFS) += 3945-debug.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index 6e7ed908de0c74929708a441f3aeab09f8d800cc..92e611841200d586c65202b336d3cfe5725e06c4 100644 (file)
@@ -15,7 +15,7 @@ iwlwifi-objs += $(iwlwifi-m)
 
 iwlwifi-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o
 
-ccflags-y += -D__CHECK_ENDIAN__ -I$(src)
+ccflags-y += -I$(src)
 
 obj-$(CONFIG_IWLDVM)   += dvm/
 obj-$(CONFIG_IWLMVM)   += mvm/
index 4d19685f31c3ad97fc48ad4a88ffb6b491abdf2c..b256a354953ae5499fd815a6a677f074adedacaf 100644 (file)
@@ -10,4 +10,4 @@ iwldvm-objs           += rxon.o devices.o
 iwldvm-$(CONFIG_IWLWIFI_LEDS) += led.o
 iwldvm-$(CONFIG_IWLWIFI_DEBUGFS) += debugfs.o
 
-ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/../
+ccflags-y += -I$(src)/../
index 2e06dfc1c47766683d44970789bdef3d71192812..83ac807e547d8ce5ce6c447518248b696f8cc401 100644 (file)
@@ -9,4 +9,4 @@ iwlmvm-$(CONFIG_IWLWIFI_LEDS) += led.o
 iwlmvm-y += tof.o fw-dbg.o
 iwlmvm-$(CONFIG_PM) += d3.o
 
-ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/../
+ccflags-y += -I$(src)/../
index bfdefb85abcdf1bffebc0e130ef81bd5546241fe..b7ecef820f7614a8e4694fbbfb5181a8c3cc0b52 100644 (file)
@@ -12,6 +12,3 @@ obj-$(CONFIG_TMD_HERMES)      += orinoco_tmd.o
 obj-$(CONFIG_NORTEL_HERMES)    += orinoco_nortel.o
 obj-$(CONFIG_PCMCIA_SPECTRUM)  += spectrum_cs.o
 obj-$(CONFIG_ORINOCO_USB)      += orinoco_usb.o
-
-# Orinoco should be endian clean.
-ccflags-y += -D__CHECK_ENDIAN__
index ea9ed8a5db4d3c5169734287946444c980b68838..08fc802ead4b56c423091a3856c295e4caa7c3b2 100644 (file)
@@ -1,5 +1,3 @@
-ccflags-y += -D__CHECK_ENDIAN__
-
 obj-$(CONFIG_MT7601U)  += mt7601u.o
 
 mt7601u-objs   = \
index ad6d3c52ec572247067544a4a5ca81b09d020d68..84c2e826fa1d48724a7a28e4c3f1ffd2225ca2a9 100644 (file)
@@ -30,5 +30,3 @@ obj-$(CONFIG_RTLBTCOEXIST)    += btcoexist/
 obj-$(CONFIG_RTL8723_COMMON)   += rtl8723com/
 obj-$(CONFIG_RTL8821AE)                += rtl8821ae/
 obj-$(CONFIG_RTL8192EE)                += rtl8192ee/
-
-ccflags-y += -D__CHECK_ENDIAN__
index 47ceecfcb7dc1059777d31b6ce1d5224a7930f6b..d1454d4f08a556998e5e7ea96f886ae7aaedfe4c 100644 (file)
@@ -3,5 +3,3 @@ btcoexist-objs :=       halbtc8723b2ant.o       \
                        rtl_btc.o
 
 obj-$(CONFIG_RTLBTCOEXIST) += btcoexist.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index 676e7de27f278d16f8dcbb420d379775962cafbb..dae4f0f19cd3198b6cf5e4136b4c4ddb4c96b5a6 100644 (file)
@@ -11,5 +11,3 @@ rtl8188ee-objs :=             \
                trx.o
 
 obj-$(CONFIG_RTL8188EE) += rtl8188ee.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index aee42d7ae8a2307c85b6b6dd8aea998b10c18ac6..0546b755625950acea7fab0c08106d50e2d2850c 100644 (file)
@@ -5,5 +5,3 @@ rtl8192c-common-objs :=         \
                phy_common.o
 
 obj-$(CONFIG_RTL8192C_COMMON) += rtl8192c-common.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index c0cb0cfe7d370ec0a65abb65d521b5ff03e8f424..577c7adbc3225d7e9298523aee07ca4ca34455d4 100644 (file)
@@ -9,5 +9,3 @@ rtl8192ce-objs :=               \
                trx.o
 
 obj-$(CONFIG_RTL8192CE) += rtl8192ce.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index ad2de6b839efa077cce86e61b8ae8e1b51c7aef5..97437dadc287f4344c91eafc83329411d009a2ae 100644 (file)
@@ -10,5 +10,3 @@ rtl8192cu-objs :=             \
                trx.o
 
 obj-$(CONFIG_RTL8192CU) += rtl8192cu.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index e3213c8264b6d6a56a37449bc1fab4647d56bd61..d0703f20d30c1edc904c5b138a0e7094f6ca454e 100644 (file)
@@ -10,5 +10,3 @@ rtl8192de-objs :=             \
                trx.o
 
 obj-$(CONFIG_RTL8192DE) += rtl8192de.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index 0315eeda9b600aab5a28fa6d27d8c63fe80e27fb..f254b9f64326284027a2e9255f80e1aa9d4392f5 100644 (file)
@@ -12,5 +12,3 @@ rtl8192ee-objs :=             \
 
 
 obj-$(CONFIG_RTL8192EE) += rtl8192ee.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index b7eb13819cbcbd9d36df32fc502b02eaa37409b1..dfa9dbbe2cdff5c84dc089a82fb3991efda2dff8 100644 (file)
@@ -11,5 +11,3 @@ rtl8192se-objs :=             \
 
 obj-$(CONFIG_RTL8192SE) += rtl8192se.o
 
-ccflags-y += -D__CHECK_ENDIAN__
-
index 6220672a96f44ffc539ccdc2325876b96dc6895c..e7607d2cb2ef280ea13d90857005362f371d8214 100644 (file)
@@ -14,5 +14,3 @@ rtl8723ae-objs :=             \
 
 
 obj-$(CONFIG_RTL8723AE) += rtl8723ae.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index a77c3410279275320eef1195e7fd6c78556631da..a841cbd55d8e11004786f4eb47748a8bd3d59270 100644 (file)
@@ -12,5 +12,3 @@ rtl8723be-objs :=             \
 
 
 obj-$(CONFIG_RTL8723BE) += rtl8723be.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index 345a68adcf3810ae926280f062ebc449fc05d641..73da75526e2a6feed668dbc9f2fd2013141bfa96 100644 (file)
@@ -5,5 +5,3 @@ rtl8723-common-objs :=          \
                phy_common.o
 
 obj-$(CONFIG_RTL8723_COMMON) += rtl8723-common.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index f7a26f71197e01db7fe089dc6ba9de940986ba1b..8ca406b95f0298e5bd408ff465cad1ce9d4471fb 100644 (file)
@@ -12,5 +12,3 @@ rtl8821ae-objs :=             \
 
 
 obj-$(CONFIG_RTL8821AE) += rtl8821ae.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index a5c6328b5f725bd3e92e8292df48328f219b08f2..58b4f935a3f634f89157e32389e90cbf29898310 100644 (file)
@@ -6,5 +6,3 @@ wl1251_sdio-objs        += sdio.o
 obj-$(CONFIG_WL1251)           += wl1251.o
 obj-$(CONFIG_WL1251_SPI)       += wl1251_spi.o
 obj-$(CONFIG_WL1251_SDIO)      += wl1251_sdio.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index 0a69c1373643b07fffd482f6a011724d91d9e760..e286713b3c189c7579ea60db51963fceff656ae3 100644 (file)
@@ -8,5 +8,3 @@ wlcore-$(CONFIG_NL80211_TESTMODE)       += testmode.o
 obj-$(CONFIG_WLCORE)                   += wlcore.o
 obj-$(CONFIG_WLCORE_SPI)               += wlcore_spi.o
 obj-$(CONFIG_WLCORE_SDIO)              += wlcore_sdio.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index 29b9834870fda9962523c07f813db0b992d1a3e4..27af86e05098faca6cbab94d6886ac30407d9e76 100644 (file)
@@ -53,4 +53,4 @@ r8188eu-y :=                          \
 
 obj-$(CONFIG_R8188EU)  := r8188eu.o
 
-ccflags-y += -D__CHECK_ENDIAN__ -I$(srctree)/$(src)/include
+ccflags-y += -I$(srctree)/$(src)/include
index cb18db74d78cf82957cd9d6e1cef4bb49b7b3fb6..7101fcc8871bba87dbf84a0dfbde4e19cf63eabf 100644 (file)
@@ -17,5 +17,3 @@ obj-$(CONFIG_RTLLIB_CRYPTO_TKIP) += rtllib_crypt_tkip.o
 obj-$(CONFIG_RTLLIB_CRYPTO_WEP) += rtllib_crypt_wep.o
 
 obj-$(CONFIG_RTL8192E) += rtl8192e/
-
-ccflags-y += -D__CHECK_ENDIAN__
index a2c4fb4ba1af9e2dd5c6d030285cc95d9dcb79c2..176a4a2b8b209466383326fcf9f03c3591b9c3d2 100644 (file)
@@ -16,5 +16,3 @@ r8192e_pci-objs :=            \
        rtl_wx.o                \
 
 obj-$(CONFIG_RTL8192E) += r8192e_pci.o
-
-ccflags-y += -D__CHECK_ENDIAN__
index b3ff12eb9b6dcdaa590bacc997cbe2e0e566783e..4bfaa19a557382311369b229b0d26846d5a968dc 100644 (file)
@@ -20,5 +20,3 @@ bluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o
 bluetooth-$(CONFIG_BT_LEDS) += leds.o
 bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
 bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
-
-subdir-ccflags-y += -D__CHECK_ENDIAN__
index 4adfd4d5471b83c254313a887687cb497ce7ad3a..9b92ade687a34015f58bd2e84e37ce50641a11cc 100644 (file)
@@ -7,5 +7,3 @@ ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o core.o \
 ieee802154_socket-y := socket.o
 
 CFLAGS_trace.o := -I$(src)
-
-ccflags-y += -D__CHECK_ENDIAN__
index 0b202b343fd44bee43df293aaf663e3a6fd3e0d2..2829122459387d80f225e509d9d64077b2098d2f 100644 (file)
@@ -61,4 +61,4 @@ rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o
 mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
 mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y)
 
-ccflags-y += -D__CHECK_ENDIAN__ -DDEBUG
+ccflags-y += -DDEBUG
index 17a51e8389e292b49b804e66ef786827668485d6..5857bb1e16953fd4b346035e5defef32fd550978 100644 (file)
@@ -3,5 +3,3 @@ mac802154-objs          := main.o rx.o tx.o mac_cmd.o mib.o \
                           iface.o llsec.o util.o cfg.o trace.o
 
 CFLAGS_trace.o := -I$(src)
-
-ccflags-y += -D__CHECK_ENDIAN__
index 4c9e39f04ef8fae38e21070fddbb89bb5a150863..816c9331c8d2dbef32b99e0355bc68c0d15999ea 100644 (file)
@@ -17,8 +17,6 @@ cfg80211-$(CONFIG_CFG80211_INTERNAL_REGDB) += regdb.o
 
 CFLAGS_trace.o := -I$(src)
 
-ccflags-y += -D__CHECK_ENDIAN__
-
 $(obj)/regdb.c: $(src)/db.txt $(src)/genregdb.awk
        @$(AWK) -f $(srctree)/$(src)/genregdb.awk < $< > $@