OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
17fc4be
)
- add hack to check if generating sysnum.h worked out
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Mon, 17 Nov 2008 22:37:05 +0000
(22:37 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Mon, 17 Nov 2008 22:37:05 +0000
(22:37 -0000)
Makefile.in
patch
|
blob
|
history
diff --git
a/Makefile.in
b/Makefile.in
index
174daca
..
eb9d15d
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-167,6
+167,15
@@
include/bits/sysnum.h: $(top_srcdir)extra/scripts/gen_bits_syscall_h.sh
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=./ \