Browse Source

dtc: bump to version 1.5.0

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lilik-openwrt-22.03
Yousong Zhou 6 years ago
parent
commit
80c462b6a1
2 changed files with 19 additions and 6 deletions
  1. +4
    -6
      libs/dtc/Makefile
  2. +15
    -0
      libs/dtc/patches/0001-use-cflags-from-build-system.patch

+ 4
- 6
libs/dtc/Makefile View File

@ -8,10 +8,10 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=dtc
PKG_VERSION:=1.4.7
PKG_VERSION:=1.5.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_HASH:=6643e8f00ff86350f465bb54b2185058b5b1b7bac01a0842c81a52b86589cde7
PKG_HASH:=c672e443c9f7e39f5a7c8e602da6777f9ad55ad70de87de300a43828c8050172
PKG_SOURCE_URL:=@KERNEL/software/utils/dtc
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=GPL
@ -74,14 +74,12 @@ define Package/libfdt/install
$(CP) $(PKG_INSTALL_DIR)/lib/libfdt*.so* $(1)/usr/lib
endef
TARGET_CFLAGS += \
$(FPIC)
# NO_PYTHON is for disabling pylibfdt
MAKE_FLAGS += \
PREFIX= \
NO_PYTHON=1 \
CFLAGS="$(TARGET_CFLAGS)"
NO_VALGRIND=1 \
NO_YAML=1 \
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib


+ 15
- 0
libs/dtc/patches/0001-use-cflags-from-build-system.patch View File

@ -0,0 +1,15 @@
--- a/Makefile.orig 2019-03-15 03:55:48.407966162 +0000
+++ b/Makefile 2019-03-15 03:56:01.320976021 +0000
@@ -15,10 +15,10 @@ EXTRAVERSION =
LOCAL_VERSION =
CONFIG_LOCALVERSION =
-CPPFLAGS = -I libfdt -I .
+CPPFLAGS += -I libfdt -I .
WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
-CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS)
+CFLAGS += $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS)
BISON = bison
LEX = flex

Loading…
Cancel
Save