python, python3: convert py/pyc removal to TARGET_FINALIZE_HOOKS
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 Sep 2014 21:39:01 +0000 (23:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Oct 2014 12:32:41 +0000 (14:32 +0200)
commit899d2af16d3a4345a4966e9eb3f552847b57a116
tree3a9e26cff155b9ce2ff8baef2ce9cda54c07c237
parent1ae62213fa26b4c0b07b635b31404f17f8ecae9b
python, python3: convert py/pyc removal to TARGET_FINALIZE_HOOKS

Since the removal of py/pyc files is Python-specific, this commit
moves the logic removing those files to python.mk and python3.mk
respectively.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile
package/python/python.mk
package/python3/python3.mk