From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 22 Dec 2011 13:17:41 +0100 Subject: [Buildroot] [PATCH v4 4/5] New package: python-setuptools In-Reply-To: <1324555715-32123-5-git-send-email-yegorslists@googlemail.com> References: <1324555715-32123-1-git-send-email-yegorslists@googlemail.com> <1324555715-32123-5-git-send-email-yegorslists@googlemail.com> Message-ID: <20111222131741.4b15d2fe@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Le Thu, 22 Dec 2011 13:08:34 +0100, yegorslists at googlemail.com a ?crit : > +PYTHON_SETUPTOOLS_DEPENDENCIES = host-python Shouldn't this be: PYTHON_SETUPTOOLS_DEPENDENCIES = python HOST_PYTHON_SETUPTOOLS_DEPENDENCIES = host-python > +define HOST_PYTHON_SETUPTOOLS_BUILD_CMDS > + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build) > +endef > + > +define HOST_PYTHON_SETUPTOOLS_INSTALL_CMDS > + (cd $(@D); PYTHONPATH="$(HOST_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages"\ > + $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(HOST_DIR)/usr) > +endef > + > +define PYTHON_SETUPTOOLS_INSTALL_TARGET_CMDS > + (cd $(@D); PYTHONPATH="$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages"\ > + $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr) > +endef You have build/install for the host case, but only install for the target case. Does it really work? Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com