diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-10-28 11:57:39 +0200 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-10-28 11:57:39 +0200 |
commit | 22b5e285ab36ee0a0dae97d4f60dc77fc3943bee (patch) | |
tree | 5a4c9e5ddc9097a9b56195387c36653e6fec3abd /include | |
parent | e5e5c3f5fd38f1f0dd8d4672fc64bdd0a1a01add (diff) | |
download | upstream-22b5e285ab36ee0a0dae97d4f60dc77fc3943bee.tar.gz upstream-22b5e285ab36ee0a0dae97d4f60dc77fc3943bee.tar.bz2 upstream-22b5e285ab36ee0a0dae97d4f60dc77fc3943bee.zip |
build: actually fix the creation of PKG_INFO_DIR
The creation was accidentally moved to the wrong hook, fix it by moving
it to the pre hook.
Fixes: e5e5c3f5fd38 ("build: ensure PKG_INFO_DIR exists before trying to use it")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk index f2d2a129d7..d620fdc0c6 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -126,6 +126,7 @@ endif PKG_EXTMOD_SUBDIRS ?= . define populate_module_symvers + @mkdir -p $(PKG_INFO_DIR) cat /dev/null > $(PKG_INFO_DIR)/$(PKG_NAME).symvers; \ for subdir in $(PKG_EXTMOD_SUBDIRS); do \ cat $(PKG_INFO_DIR)/*.symvers 2>/dev/null > $(PKG_BUILD_DIR)/$$$$subdir/Module.symvers; \ @@ -133,7 +134,6 @@ define populate_module_symvers endef define collect_module_symvers - @mkdir -p $(PKG_INFO_DIR) for subdir in $(PKG_EXTMOD_SUBDIRS); do \ grep -F $(PKG_BUILD_DIR) $(PKG_BUILD_DIR)/$$$$subdir/Module.symvers >> $(PKG_BUILD_DIR)/Module.symvers.tmp; \ done; \ |