projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use TARGET_CFLAGS, strip at package time
[openwrt.git]
/
rules.mk
diff --git
a/rules.mk
b/rules.mk
index
ba027d4
..
63ee109
100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-1,6
+1,6
@@
include $(TOPDIR)/.config
MAKE1=make
include $(TOPDIR)/.config
MAKE1=make
-MAKE
=make
-j$(BR2_JLEVEL)
+MAKE
FLAGS=
-j$(BR2_JLEVEL)
# Strip off the annoying quoting
ARCH:=$(strip $(subst ",, $(BR2_ARCH)))
# Strip off the annoying quoting
ARCH:=$(strip $(subst ",, $(BR2_ARCH)))
@@
-69,10
+69,11
@@
TARGET_CC:=$(TARGET_CROSS)gcc
STRIP:=$(STAGING_DIR)/bin/sstrip
PATCH=$(SCRIPT_DIR)/patch-kernel.sh
SED:=$(STAGING_DIR)/bin/sed -i -e
STRIP:=$(STAGING_DIR)/bin/sstrip
PATCH=$(SCRIPT_DIR)/patch-kernel.sh
SED:=$(STAGING_DIR)/bin/sed -i -e
-LINUX_VERSION=2.4.
29
+LINUX_VERSION=2.4.
30
LINUX_DIR:=$(BUILD_DIR)/linux
LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
LINUX_KERNEL:=$(BUILD_DIR)/buildroot-kernel
LINUX_DIR:=$(BUILD_DIR)/linux
LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
LINUX_KERNEL:=$(BUILD_DIR)/buildroot-kernel
+LINUX_IMAGE:=$(BUILD_DIR)/buildroot-kernel-image
MODULES_SUBDIR := lib/modules/$(LINUX_VERSION)
MODULES_DIR := $(BUILD_DIR)/modules/$(MODULES_SUBDIR)
MODULES_SUBDIR := lib/modules/$(LINUX_VERSION)
MODULES_DIR := $(BUILD_DIR)/modules/$(MODULES_SUBDIR)
@@
-112,7
+113,7
@@
endif
# invoke ipkg with configuration in $(STAGING_DIR)/etc/ipkg.conf
# invoke ipkg with configuration in $(STAGING_DIR)/etc/ipkg.conf
-IPKG := IPKG_
CONF_DIR=$(STAGING_DIR)/etc $(TARGET_DIR)/bin
/ipkg -force-defaults -force-depends
+IPKG := IPKG_
INSTROOT=$(TARGET_DIR) IPKG_CONF_DIR=$(STAGING_DIR)/etc $(SCRIPT_DIR)
/ipkg -force-defaults -force-depends
IPKG_STATE_DIR := $(TARGET_DIR)/usr/lib/ipkg
# invoke ipkg-build with some default options
IPKG_STATE_DIR := $(TARGET_DIR)/usr/lib/ipkg
# invoke ipkg-build with some default options
@@
-121,3
+122,6
@@
IPKG_BUILD := PATH="$(TARGET_PATH)" ipkg-build -c -o root -g root
# where to build (and put) .ipk packages
IPKG_TARGET_DIR := $(PACKAGE_DIR)
# where to build (and put) .ipk packages
IPKG_TARGET_DIR := $(PACKAGE_DIR)
+RSTRIP:=STRIP="$(STRIP)" $(SCRIPT_DIR)/rstrip.sh
+RSTRIP_KMOD:=STRIP="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment --remove-section=.comment" $(SCRIPT_DIR)/rstrip.sh
+
This page took
0.018732 seconds
and
4
git commands to generate.