aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-07-29 11:30:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-07-29 11:30:06 +0000
commitd030852b98b1913e024c4a57fbfc75ba9b7cbffe (patch)
tree201dc84d4cf223dae33e04cc23a092b7fb9acf36 /package/base-files
parent81d0309b9f38b4883816fa52845cd29e227c0efa (diff)
downloadupstream-d030852b98b1913e024c4a57fbfc75ba9b7cbffe.tar.gz
upstream-d030852b98b1913e024c4a57fbfc75ba9b7cbffe.tar.bz2
upstream-d030852b98b1913e024c4a57fbfc75ba9b7cbffe.zip
add support for per-package prereq checks, run global prereq checks before (menu-)config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4318 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 01ea9674c5..e41e1fd798 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -22,8 +22,8 @@ include $(INCLUDE_DIR)/package.mk
ifneq ($(DUMP),1)
TARGET:=-$(BOARD)-$(KERNEL)
-UCLIBC_VERSION:=${shell cat $(STAGING_DIR)/uclibc_version}
-LIBGCC_VERSION:=${shell cat $(STAGING_DIR)/gcc_version}
+UCLIBC_VERSION:=${shell cat $(STAGING_DIR)/uclibc_version 2>/dev/null}
+LIBGCC_VERSION:=${shell cat $(STAGING_DIR)/gcc_version 2>/dev/null}
else
UCLIBC_VERSION:=<UCLIBC_VERSION>
LIBGCC_VERSION:=<LIBGCC_VERSION>