From 4c7b674d1c5eefba6287275e02b4061600ab3850 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 9 Apr 2010 16:30:12 +0200 Subject: [PATCH] Update rules --- build/Makefile.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Makefile.rules b/build/Makefile.rules index b4ad98f..3f1875d 100644 --- a/build/Makefile.rules +++ b/build/Makefile.rules @@ -155,7 +155,7 @@ endif override RELATIVE_DIR := $(RELATIVE_DIR:/%=%) override RELATIVE_DIR := $(RELATIVE_DIR:\\%=%) #$(warning RELATIVE_DIR = "$(RELATIVE_DIR)") -override BACK2TOP_DIR := $(shell echo $(RELATIVE_DIR)/ | sed -e 's_//_/_g' -e 's_/\./_/_g' -e 's_^\./__g' -e 's_\([^/][^/]*\)_.._g' -e 's_/$$__') +#override BACK2TOP_DIR := $(shell echo $(RELATIVE_DIR)/ | sed -e 's_//_/_g' -e 's_/\./_/_g' -e 's_^\./__g' -e 's_\([^/][^/]*\)_.._g' -e 's_/$$__') #$(warning BACK2TOP_DIR = "$(BACK2TOP_DIR)") #$(warning SOURCES_DIR = "$(SOURCES_DIR)") @@ -432,7 +432,7 @@ USER_BIN_DIR := $(OUTPUT_DIR)/$(COMPILED_DIR_NAME)/bin USER_BUILD_DIR := $(OUTPUT_DIR)/$(BUILD_DIR_NAME)/user ifndef LINUX_VERSION -LINUX_VERSION=$(shell uname -r) +export LINUX_VERSION=$(shell uname -r) endif ifndef LINUX_DIR LINUX_DIR=/lib/modules/$(LINUX_VERSION)/build -- 2.39.2