[kernel] r12909 - dists/trunk/linux-2.6/debian
Bastian Blank
waldi at alioth.debian.org
Sun Feb 22 15:17:58 UTC 2009
Author: waldi
Date: Sun Feb 22 15:17:57 2009
New Revision: 12909
Log:
* debian/changelog: Update.
* debian/rules.real
- Use external source directory for builds.
- Ignore some errors.
Modified:
dists/trunk/linux-2.6/debian/changelog
dists/trunk/linux-2.6/debian/rules.real
Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog (original)
+++ dists/trunk/linux-2.6/debian/changelog Sun Feb 22 15:17:57 2009
@@ -17,6 +17,9 @@
RADIO_TEA5764, SND_HDA_CODEC_INTELHDMI, RT2860, RT2870, RTL8187SE.
* topconfig enable SND_HDA_HWDEP for sound debugging purpose.
+ [ Bastian Blank ]
+ * Use external source directory for all builds.
+
-- maximilian attems <maks at debian.org> Thu, 19 Feb 2009 13:25:20 +0100
linux-2.6 (2.6.28-2) UNRELEASED; urgency=low
Modified: dists/trunk/linux-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-2.6/debian/rules.real (original)
+++ dists/trunk/linux-2.6/debian/rules.real Sun Feb 22 15:17:57 2009
@@ -91,7 +91,7 @@
$(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DIR=$(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
$(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(BUILD_DIR)/config.$(ARCH)_$(FEATURESET)_$(FLAVOUR) $(STAMPS_DIR)/source_$(ARCH)_$(FEATURESET)
rm -rf '$(DIR)'
- cp -al '$(SOURCE_DIR)' '$(DIR)'
+ mkdir '$(DIR)'
cp '$(CONFIG)' '$(DIR)/.config'
echo '$(ABINAME)$(LOCALVERSION_IMAGE)' > '$(DIR)/localversion'
echo 'override ARCH = $(KERNEL_ARCH)' >> '$(DIR)/.kernelvariables'
@@ -108,8 +108,8 @@
ifdef CFLAGS
echo 'CFLAGS += $(CFLAGS)' >> '$(DIR)/.kernelvariables'
endif
- +$(MAKE_CLEAN) -C '$(DIR)' reportoldconfig
- +$(MAKE_CLEAN) -C '$(DIR)' $(JOBS_ARG) prepare
+ +$(MAKE_CLEAN) -C '$(SOURCE_DIR)' O='$(CURDIR)/$(DIR)' reportoldconfig
+ +$(MAKE_CLEAN) -C '$(SOURCE_DIR)' O='$(CURDIR)/$(DIR)' $(JOBS_ARG) prepare
touch '$@'
$(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_$(TYPE): DIR=$(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
@@ -244,13 +244,13 @@
-type d -a ! -name include -a ! -name kernel -o \
-type f -a \( -name 'Makefile*' -o -name 'Kconfig*' -o -name "module.lds" \) \
-printf "../../../$(PACKAGE_NAME_HEADERS)/%p\n" | \
- xargs ln -s --target-directory='$(CURDIR)'/$(DIR)/arch/$(KERNEL_ARCH)
+ xargs -r ln -s --target-directory='$(CURDIR)'/$(DIR)/arch/$(KERNEL_ARCH)
cd $(SOURCE_DIR); \
find arch/$(KERNEL_ARCH)/kernel -mindepth 1 -maxdepth 1 \
-type f -a \( -name 'Makefile*' -o -name 'Kconfig*' -o -name "module.lds" \) \
-printf "../../../../$(PACKAGE_NAME_HEADERS)/%p\n" | \
- xargs ln -s --target-directory='$(CURDIR)'/$(DIR)/arch/$(KERNEL_ARCH)/kernel
+ xargs -r ln -s --target-directory='$(CURDIR)'/$(DIR)/arch/$(KERNEL_ARCH)/kernel
[ -d $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/include ] && \
cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/include $(DIR)/arch/$(KERNEL_ARCH)/include || :
@@ -267,7 +267,7 @@
find include -mindepth 1 -maxdepth 1 \
! -name config -a ! -name linux -a ! -name 'asm*' \
-printf "../../$(PACKAGE_NAME_HEADERS)/%p\n" | \
- xargs ln -s --target-directory='$(CURDIR)'/$(DIR)/include
+ xargs -r ln -s --target-directory='$(CURDIR)'/$(DIR)/include
cp -a $(SOURCE_DIR)/include/config $(DIR)/include
ln -sf asm-$(KERNEL_ARCH) $(DIR)/include/asm
More information about the Kernel-svn-changes
mailing list