svn commit: trunk/uClibc
aldot at uclibc.org
aldot at uclibc.org
Mon Nov 17 22:37:05 UTC 2008
Author: aldot
Date: 2008-11-17 14:37:05 -0800 (Mon, 17 Nov 2008)
New Revision: 24084
Log:
- add hack to check if generating sysnum.h worked out
Modified:
trunk/uClibc/Makefile.in
Changeset:
Modified: trunk/uClibc/Makefile.in
===================================================================
--- trunk/uClibc/Makefile.in 2008-11-17 22:19:18 UTC (rev 24083)
+++ trunk/uClibc/Makefile.in 2008-11-17 22:37:05 UTC (rev 24084)
@@ -167,6 +167,15 @@
else \
mv -f $$tmp include/bits/sysnum.h; \
fi
+ @# Ugly linux specific hack..
+ $(Q)if grep -q __NR_ $@; then true; else \
+ rm -f $@; \
+ echo "ERROR: Could not generate syscalls."; \
+ echo "Make sure that you have proper kernel headers."; \
+ echo "Your .config in KERNEL_HEADERS=\"\" was set to:"; \
+ echo "${KERNEL_HEADERS}"; \
+ exit 1; \
+ fi
$(LOCAL_INSTALL_PATH):
$(Q)$(MAKE) PREFIX=$(shell pwd)/ RUNTIME_PREFIX=./ \
More information about the uClibc-cvs
mailing list