From: Jose V Beneyto Date: Fri, 6 May 2011 10:17:46 +0000 (+0200) Subject: Added new section in the Makefile to handle pkgutils-cross in CLFS X-Git-Url: http://gitweb/?a=commitdiff_plain;h=c4fd4718772953b4064ac4dea760ce28102d1f7b;p=toolchain-softfp.git Added new section in the Makefile to handle pkgutils-cross in CLFS --- diff --git a/Makefile b/Makefile index 3bc0720..1a17dd5 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ include vars.mk .PHONY: all clean distclean -all: linux-headers libgmp libmpfr libmpc binutils gcc-static glibc gcc-final test +all: linux-headers libgmp libmpfr libmpc binutils gcc-static glibc gcc-final setup test clean: linux-headers-clean libgmp-clean libmpfr-clean libmpc-clean binutils-clean gcc-static-clean glibc-clean gcc-final-clean test-clean @@ -272,6 +272,13 @@ gcc-final-distclean: gcc-final-clean rm -vf $(WORK)/gcc-$(GCC_VERSION).tar.bz2 +# SETUP FOR PKGUTILS +$(CLFS)/var/lib/pkg/db: + install -d -m 0755 $(CLFS)/var/lib/pkg + touch $(CLFS)/var/lib/pkg/db + +setup: $(CLFS)/var/lib/pkg/db + # TEST THE TOOLCHAIN $(WORK)/test: $(WORK)/test.c export PATH=$$PATH:$(CROSSTOOLS)/bin && \