Revert "package/elfutils: fix an odd error on building OOT kmods on ubuntu"

This reverts commit 82095637a1.

pkg-config require 'Description' field:
```
PKG_CONFIG_PATH=staging_dir/target-aarch64_cortex-a53_musl/usr/lib/pkgconfig  pkg-config libelf --exists --print-errors && echo ok
Package 'libelf' has no Description: field
```
This commit is contained in:
Liangbin Lian 2025-02-12 19:28:22 +08:00
parent ce69c916b2
commit 3b738472ac
2 changed files with 1 additions and 22 deletions

View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=elfutils
PKG_VERSION:=0.186
PKG_RELEASE:=2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://sourceware.org/$(PKG_NAME)/ftp/$(PKG_VERSION)

View File

@ -1,21 +0,0 @@
Fix odd error when build OOT kernel modules
```
make[3]: Entering directory '/mnt/sata1-1/istoreos-build/x86_64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.221'
make[4]: *** No rule to make target '/mnt/sata1-1/istoreos-build/x86_64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.052.01/src/r8168_n.o', needed by '/mnt/sata1-1/istoreos-build/x86_64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.052.01/src/r8168.o'. Stop.
make[3]: *** [Makefile:1832: /mnt/sata1-1/istoreos-build/x86_64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.052.01/src] Error 2
make[3]: Leaving directory '/mnt/sata1-1/istoreos-build/x86_64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.221'
make[2]: *** [Makefile:49: /mnt/sata1-1/istoreos-build/x86_64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.052.01/.built] Error 2
make[2]: Leaving directory '/mnt/sata1-1/istoreos-build/x86_64/openwrt/package/kernel/r8168'
```
--- a/config/libelf.pc.in
+++ b/config/libelf.pc.in
@@ -4,7 +4,6 @@ libdir=@libdir@
includedir=@includedir@
Name: libelf
-Description: elfutils libelf library to read and write ELF files
Version: @VERSION@
URL: http://elfutils.org/