From: Bernhard Reutner-Fischer Date: Mon, 22 Jan 2007 13:56:04 +0000 (-0000) Subject: - add missing include panic.h to parsetime.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cb4e4054eaeba7360b0170bd54c051289e4576a;p=buildroot.git - add missing include panic.h to parsetime.h - add missing prerequisite y.tab.h of lex.yy.c to fix parallel builds --- diff --git a/package/at/at-crosscompile.patch b/package/at/at-crosscompile.patch index c04c359192..8b68da7128 100644 --- a/package/at/at-crosscompile.patch +++ b/package/at/at-crosscompile.patch @@ -1,15 +1,38 @@ ---- at/config.h.in -+++ at/config.h.in -@@ -182,3 +182,6 @@ +diff -rdup at-3.1.10.orig/Makefile.in at-3.1.10/Makefile.in +--- at-3.1.10.orig/Makefile.in 2007-01-22 14:35:41.000000000 +0100 ++++ at-3.1.10/Makefile.in 2007-01-22 14:41:41.000000000 +0100 +@@ -62,6 +62,8 @@ MISC = COPYING Makefile.in configure a + DIST = $(CSRCS) $(HEADERS) $(MISC) $(OTHERS) + LIST = Filelist Filelist.asc + ++IROOT = $(DESTDIR) ++ + .PHONY: all install clean dist distclean + + all: at atd atrun +@@ -78,7 +80,7 @@ atd: $(RUNOBJECTS) + y.tab.c y.tab.h: parsetime.y + $(YACC) -d parsetime.y + +-lex.yy.c: parsetime.l ++lex.yy.c: parsetime.l y.tab.h + $(LEX) -i parsetime.l + + atrun: atrun.in +diff -rdup at-3.1.10.orig/config.h.in at-3.1.10/config.h.in +--- at-3.1.10.orig/config.h.in 2007-01-22 14:35:41.000000000 +0100 ++++ at-3.1.10/config.h.in 2007-01-22 14:35:35.000000000 +0100 +@@ -181,3 +181,6 @@ #undef HAVE_ATTRIBUTE_NORETURN #undef HAVE_PAM + +#undef NEED_YYWRAP + ---- at/configure -+++ at/configure -@@ -1037,7 +1037,7 @@ +diff -rdup at-3.1.10.orig/configure at-3.1.10/configure +--- at-3.1.10.orig/configure 2007-01-22 14:35:41.000000000 +0100 ++++ at-3.1.10/configure 2007-01-22 14:35:35.000000000 +0100 +@@ -1037,7 +1037,7 @@ esac echo $ac_n "checking Trying to compile a trivial ANSI C program""... $ac_c" 1>&6 echo "configure:1039: checking Trying to compile a trivial ANSI C program" >&5 if test "$cross_compiling" = yes; then @@ -18,9 +41,10 @@ else cat > conftest.$ac_ext < #include diff --git a/package/at/at.mk b/package/at/at.mk index 58a7cb4639..36413ea2f1 100644 --- a/package/at/at.mk +++ b/package/at/at.mk @@ -18,7 +18,7 @@ at-source: $(DL_DIR)/$(AT_SOURCE) $(AT_DIR)/.unpacked: $(DL_DIR)/$(AT_SOURCE) $(AT_CAT) $(DL_DIR)/$(AT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(AT_DIR) package/at/ at\*.patch - touch $(AT_DIR)/.unpacked + touch $@ $(AT_DIR)/.configured: $(AT_DIR)/.unpacked (cd $(AT_DIR); rm -rf config.cache; \ @@ -38,7 +38,7 @@ $(AT_DIR)/.configured: $(AT_DIR)/.unpacked --with-daemon_username=at \ --with-daemon_groupname=at \ ); - touch $(AT_DIR)/.configured + touch $@ $(AT_DIR)/$(AT_BINARY): $(AT_DIR)/.configured $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(AT_DIR)