From c64590723b115e8743ad60658adb6040a01d1ca2 2019-01-07 15:01:15 From: Richard H Date: 2019-01-07 15:01:15 Subject: [PATCH] net-wireless/mt76x0: migrate to linux-mod.eclass to fix compilation issues --- diff --git a/net-wireless/mt76x0/Manifest b/net-wireless/mt76x0/Manifest index a52de9bdea9ad66c97837d7c5dd36cbc46eb31a1..eb104d761291efb5e104d368cd4045289b43ab51 100644 --- a/net-wireless/mt76x0/Manifest +++ b/net-wireless/mt76x0/Manifest @@ -1,2 +1,2 @@ AUX mt76x0-9999_usb_h-firmware-location.patch 279 BLAKE2B b2d2c1851ab414716049bcde6c98b4129dce39b24702bdad304efdd1915800e83594995c9e262b227976f7a9d937dc5e6db1ddfd84677f6e4f0bfc39e9c02184 SHA512 f257eaa4f24b704bccd345031f2e7f16d58a3c98173a5b2e7079a3c1878c3374d3c6891dfc2020c98745c0dd19953d2201193f66f4569943039c469dc7bfbaf5 -EBUILD mt76x0-9999.ebuild 552 BLAKE2B 5de769a87275ec3834041ed2cfddbb32135e003a713d820445be8af994bf1dbbea3b3c878e058941e300080e339f12b13399ddddff68d315d0f48bb8ed207c99 SHA512 7e59b83cff9cc4f56c139a0cb727126260a9e30b95ba10a242449e23605acc1c32efbeb35da370a3babba82a1e7c7ee7f54d1406a041d15c717c6622c7a87cb2 +EBUILD mt76x0-9999.ebuild 680 BLAKE2B 3ecf731206ba991ffb9ba5dae55cc04377f85fb392d7927a876e446012644d53628135c83a1370b69bb854c587c0da69582e232dc661b8c84f4b8f2711448b4d SHA512 a198f245d7e31dd33304e295ad4e8f64e3549675443b3054e569bd89daf1ffbfe6ce1b23dbba84391469c4ec837dca69d27170df7432fbfb66a85f689668088d diff --git a/net-wireless/mt76x0/mt76x0-9999.ebuild b/net-wireless/mt76x0/mt76x0-9999.ebuild index 715a538610be036f8a5db218bc902fcf382135e2..2c5d5054be830a99589e32a8d5dd074979e5db25 100644 --- a/net-wireless/mt76x0/mt76x0-9999.ebuild +++ b/net-wireless/mt76x0/mt76x0-9999.ebuild @@ -23,3 +23,11 @@ src_prepare() { epatch "${FILESDIR}"/${P}_usb_h-firmware-location.patch default } + +src_compile() { + KDIR="/lib/modules/${KV_FULL}/build" linux-mod_src_compile +} + +src_install() { + linux-mod_src_install +}