[Buildroot] [Bug 6722] Usage of $($(PKG)_DIR_PREFIX) is an issue with linux package

bugzilla at busybox.net bugzilla at busybox.net
Fri Dec 6 11:58:49 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=6722

--- Comment #8 from Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> 2013-12-06 11:58:49 UTC ---
Thanks Ryan.

If I understand the problem correctly, then it will be fixed with my additional
patches. In the current code, if you print out PATCH_BASE_DIRS for busybox and
linux, you get:

>>> busybox 1.21.1 Patching PATCH_BASE_DIRS='package//busybox /busybox'
>>> linux 3.10.2 Patching PATCH_BASE_DIRS='/linux /linux'

with PATCH_BASE_DIRS calculated as:
PATCH_BASE_DIRS = $($(PKG)_DIR_PREFIX)/$(RAWNAME) $(call
qstrip,$(BR2_GLOBAL_PATCH_DIR))/$(RAWNAME)


and with my modified code, it becomes:
>>> busybox 1.21.1 Patching PATCH_BASE_DIRS='package/busybox/ /busybox'
>>> linux 3.10.4 Patching PATCH_BASE_DIRS='linux/ /linux'

with PATCH_BASE_DIRS calculated as:
PATCH_BASE_DIRS = $($(PKG)_DIR_PREFIX) $(call
qstrip,$(BR2_GLOBAL_PATCH_DIR))/$(RAWNAME)


Ryan, can you confirm that what I describe above is the problem you have seen,
and that the 'fixed' output is indeed what you expect?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the buildroot mailing list