]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Misc things.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Nov 2009 18:26:04 +0000 (19:26 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Nov 2009 18:26:04 +0000 (19:26 +0100)
A buildfix and some dependency things.

pkgs/Include
pkgs/core/e2fsprogs/e2fsprogs.nm
pkgs/core/gcc/gcc.nm
pkgs/core/kernel-headers/kernel-headers.nm

index 2905adf74b5252226789b21548d58b83ac1b30b5..f1db02004847a04d9dfbaf4fb41d1846b18c580f 100644 (file)
@@ -58,6 +58,8 @@ define PKG_FILES_devel
        */lib/*.so
 endef
 
+PKG_BUILD_DEPS += glibc gcc
+
 CONFIGURE_ARCH = --build=$(TARGET) --host=$(TARGET)
 
 ifeq "$(TARGET_MACHINE)" "x86_64"
index d49761848003d1b6deae1a6cfca84f5e6563f843..27de7556bc227961f064f5ca827279701977d86a 100644 (file)
@@ -50,8 +50,8 @@ PKG_TARBALL    = $(THISAPP).tar.gz
 # Installation Details
 ###############################################################################
 
-define STAGE_PREPARE
-       -mkdir $(DIR_APP)/build
+define STAGE_PREPARE_CMDS
+       -mkdir -pv $(DIR_APP)/build
 
        # Fix DT_TEXTREL in e2fsprogs libraries. --disable-shared and
        # --with-pic are not options in E2fsprogs:
index 25b44bf6079daf844a6053b911263a0b312ece82..37c8265f1388005f5758e497780773bda995cbb3 100644 (file)
@@ -39,7 +39,8 @@ define PKG_DESCRIPTION
        You'll need this package in order to compile C code.
 endef
 
-PKG_BUILD_DEPS = binutils glibc kernel-headers
+PKG_BUILD_DEPS =
+PKG_DEPS      += binutils glibc kernel-headers
 
 CFLAGS         = -D__USE_XOPEN2K8 -pipe
 CXXFLAGS       =
@@ -65,8 +66,6 @@ PKG_PATCHES   += $(THISAPP)-espf-1.patch \
        $(THISAPP)-branch-startfiles-1.patch \
        $(THISAPP)-asprintf_fix.patch
 
-export CPP = $(TOOLS_DIR)/bin/cpp
-
 ###############################################################################
 # Installation Details
 ###############################################################################
index 65925aa0ef49a485829c04ff4c15260be82d781e..81d69993566cdd52d0e2ca848bf163593a47d292 100644 (file)
@@ -1,6 +1,8 @@
 
 include ../../core/kernel/kernel.nm
 
+PKG_BUILD_DEPS =
+
 STAGE_PREPARE_CMDS =
 
 define STAGE_BUILD