diff options
| author | Sughosh Ganu <[email protected]> | 2025-12-16 11:16:24 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-01-02 10:28:14 -0600 |
| commit | bd3f9ee679b4d1456d0d3c261ab76788950e6096 (patch) | |
| tree | a50e5ddfb4b5116903ad59753af910a76874705e /scripts/dtc | |
| parent | 56ae3c2a44fcd8e2f680c51620011273727ae9db (diff) | |
kbuild: Bump the build system to 6.1
Our last sync with the kernel was 5.1.
We are so out of sync now, that tracking the patches and backporting
them one by one makes little sense and it's going to take ages.
This is an attempt to sync up Makefiles to 6.1.
Unfortunately due to sheer amount of patches this is not easy to review,
but that's what we decided during a community call for the bump to 5.1,
so we are following the same guidelines here.
Signed-off-by: Sughosh Ganu <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>a #rebased on -next
Diffstat (limited to 'scripts/dtc')
| -rw-r--r-- | scripts/dtc/Makefile | 5 | ||||
| -rw-r--r-- | scripts/dtc/pylibfdt/Makefile | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile index faa72d95e28..a714c68365e 100644 --- a/scripts/dtc/Makefile +++ b/scripts/dtc/Makefile @@ -1,15 +1,14 @@ # SPDX-License-Identifier: GPL-2.0 # scripts/dtc makefile -hostprogs-y := dtc -always := $(hostprogs-y) +hostprogs-always-y += dtc dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \ srcpos.o checks.o util.o dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o # Source files need to get at the userspace version of libfdt_env.h to compile -HOST_EXTRACFLAGS := -I$(src)/libfdt +HOST_EXTRACFLAGS := -I$(srctree)/$(src)/libfdt # Generated files need one more search path to include headers in source tree HOSTCFLAGS_dtc-lexer.lex.o := -I$(src) diff --git a/scripts/dtc/pylibfdt/Makefile b/scripts/dtc/pylibfdt/Makefile index e442d5c2420..ce9c2d093b8 100644 --- a/scripts/dtc/pylibfdt/Makefile +++ b/scripts/dtc/pylibfdt/Makefile @@ -26,7 +26,7 @@ quiet_cmd_pymod = PYMOD $@ SWIG_OPTS="-I$(LIBFDT_srcdir) -I$(LIBFDT_srcdir)/.." \ $(PYTHON3) $< --quiet build_ext --inplace -rebuild: $(src)/setup.py $(PYLIBFDT_srcs) +rebuild: $(src)/setup.py $(PYLIBFDT_srcs) FORCE @# Remove the library since otherwise Python doesn't seem to regenerate @# the libfdt.py file if it is missing. @rm -f $(obj)/_libfdt*.so @@ -39,6 +39,6 @@ rebuild: $(src)/setup.py $(PYLIBFDT_srcs) $(obj)/_libfdt.so $(obj)/libfdt.py &: rebuild @: -always += _libfdt.so libfdt.py +always-y += _libfdt.so libfdt.py clean-files += libfdt.i _libfdt.so libfdt.py libfdt_wrap.c |
