From 849f4a8c4b5704216653d7f6455dcf2a4a68e1d9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 8 Oct 2008 12:08:05 +0000 Subject: [PATCH] merge r12896 to 8.09 SVN-Revision: 12897 --- include/package.mk | 6 +++++- include/site/mipsel-linux2.4-uclibc | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 include/site/mipsel-linux2.4-uclibc diff --git a/include/package.mk b/include/package.mk index d67a386225..0f3d21ee9e 100644 --- a/include/package.mk +++ b/include/package.mk @@ -31,7 +31,11 @@ include $(INCLUDE_DIR)/package-bin.mk include $(INCLUDE_DIR)/autotools.mk override MAKEFLAGS= -export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(patsubst %gnueabi,%,$(REAL_GNU_TARGET_NAME)) +CONFIG_SITE:=$(INCLUDE_DIR)/site/$(patsubst %gnueabi,%,$(REAL_GNU_TARGET_NAME)) +ifneq ($(CONFIG_LINUX_2_4),) + CONFIG_SITE:=$(subst linux-,linux2.4-,$(CONFIG_SITE)) +endif +export CONFIG_SITE CUR_MAKEFILE:=$(filter-out Makefile,$(firstword $(MAKEFILE_LIST))) SUBMAKE:=$(NO_TRACE_MAKE) $(if $(CUR_MAKEFILE),-f $(CUR_MAKEFILE)) diff --git a/include/site/mipsel-linux2.4-uclibc b/include/site/mipsel-linux2.4-uclibc new file mode 100644 index 0000000000..3412411cb4 --- /dev/null +++ b/include/site/mipsel-linux2.4-uclibc @@ -0,0 +1,5 @@ +#!/bin/sh + +. $TOPDIR/include/site/mipsel-linux +. $TOPDIR/include/site/linux-uclibc +ac_cv_header_sys_inotify_h=no -- 2.30.2