mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-05 03:13:41 +08:00
neon: fix neon-config
[Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
857413845e
commit
0db5e1203d
@ -52,4 +52,12 @@ ifneq ($(BR2_HAVE_DEVFILES),y)
|
||||
NEON_POST_INSTALL_TARGET_HOOKS += NEON_REMOVE_CONFIG_SCRIPTS
|
||||
endif
|
||||
|
||||
define NEON_STAGING_NEON_CONFIG_FIXUP
|
||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
$(STAGING_DIR)/usr/bin/neon-config
|
||||
endef
|
||||
|
||||
NEON_POST_INSTALL_STAGING_HOOKS += NEON_STAGING_NEON_CONFIG_FIXUP
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user