projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't specify "CC=<nothing>" on kernel build command line
[openwrt.git]
/
rules.mk
diff --git
a/rules.mk
b/rules.mk
index
9d5fcd7
..
cd5446a
100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-1,5
+1,5
@@
#
#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006
-2007
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-32,7
+32,7
@@
SUBDIR:=$(patsubst $(TOPDIR)/%,%,${CURDIR})
OPTIMIZE_FOR_CPU:=$(ARCH)
OPTIMIZE_FOR_CPU:=$(ARCH)
-DL_DIR:=$(
TOPDIR)/dl
+DL_DIR:=$(
call qstrip,$(if $(CONFIG_DOWNLOAD_FOLDER), $(CONFIG_DOWNLOAD_FOLDER),$(TOPDIR)/dl))
BIN_DIR:=$(TOPDIR)/bin
INCLUDE_DIR:=$(TOPDIR)/include
SCRIPT_DIR:=$(TOPDIR)/scripts
BIN_DIR:=$(TOPDIR)/bin
INCLUDE_DIR:=$(TOPDIR)/include
SCRIPT_DIR:=$(TOPDIR)/scripts
@@
-62,6
+62,12
@@
TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
TARGET_LDFLAGS:=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
export PATH:=$(TARGET_PATH)
TARGET_LDFLAGS:=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
export PATH:=$(TARGET_PATH)
+export STAGING_DIR
+export GCC_HONOUR_COPTS:=0
+
+PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config
+
+export PKG_CONFIG
LINUX_HEADERS_DIR:=$(BUILD_DIR_TOOLCHAIN)/linux
LINUX_HEADERS_DIR:=$(BUILD_DIR_TOOLCHAIN)/linux
@@
-132,6
+138,9
@@
$(call shvar,$(1))=$$(call $(1))
export $(call shvar,$(1))
endef
export $(call shvar,$(1))
endef
+# file extension
+ext=$(word $(words $(subst ., ,$(1))),$(subst ., ,$(1)))
+
all:
FORCE: ;
.PHONY: FORCE
all:
FORCE: ;
.PHONY: FORCE
This page took
0.022408 seconds
and
4
git commands to generate.