| Submitter | Maxime Ripard |
|---|---|
| Date | Jan. 18, 2013, 2:06 p.m. |
| Message ID | <1358517974-30956-1-git-send-email-maxime.ripard@free-electrons.com> |
| Download | mbox | patch |
| Permalink | /patch/213613/ |
| State | Accepted |
| Commit | 9976b37f86b03007efad8bb73e0fbd42e17add35 |
| Headers | show |
Comments
Hi Maxime, all, 2013/1/18 Maxime Ripard <maxime.ripard@free-electrons.com>: > Fixes #5702 > > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Regards,
>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:
Maxime> Fixes #5702
Maxime> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Committed, thanks.
Patch
diff --git a/package/python3/python3.mk b/package/python3/python3.mk index bcd83ea..0d54162 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -148,5 +148,12 @@ PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_REMOVE_USELESS_FILES PYTHON3_AUTORECONF = YES +define PYTHON3_INSTALL_SYMLINK + ln -fs python3 $(TARGET_DIR)/usr/bin/python +endef + +ifneq ($(BR2_PACKAGE_PYTHON),y) +PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_INSTALL_SYMLINK +endif $(eval $(autotools-package)) $(eval $(host-autotools-package))
Fixes #5702 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> --- package/python3/python3.mk | 7 +++++++ 1 file changed, 7 insertions(+)