Skip to content

Commit

Permalink
qca-nss-dp: cp instead of symlink for nss_dp_arch.h
Browse files Browse the repository at this point in the history
Build files shouldn't be symlinked into the staging directory, as doing so
would create a race condition if the build folder for 'qca-nss-dp' gets
deleted for any reason.

We should instead just copy over the required platform file to avoid
breaking compilation for any dependent packages.

Signed-off-by: Sean Khan <[email protected]>
  • Loading branch information
qosmio authored and robimarko committed Apr 1, 2024
1 parent 3e3e1b8 commit a0962e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/kernel/qca-nss-dp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ EXTRA_CFLAGS+= \

NSS_DP_HAL_DIR:=$(PKG_BUILD_DIR)/hal
define Build/Configure
$(LN) $(NSS_DP_HAL_DIR)/soc_ops/$(CONFIG_TARGET_SUBTARGET)/nss_$(CONFIG_TARGET_SUBTARGET).h \
$(CP) $(NSS_DP_HAL_DIR)/soc_ops/$(CONFIG_TARGET_SUBTARGET)/nss_$(CONFIG_TARGET_SUBTARGET).h \
$(PKG_BUILD_DIR)/exports/nss_dp_arch.h
endef

Expand Down

0 comments on commit a0962e8

Please sign in to comment.