VERSION="$*"; \
FLAVOR=$${VERSION#*_}; \
KERNEL=$${VERSION/_$$FLAVOR/}; \
- sed -e "s|#DVB_DIR#|$(CURDIR)/debian/tmp/include/$$KERNEL/|" < debian/config.mak-$$FLAVOR > contrib/sasc-ng/config.mak; \
- echo "Building $$VERSION - $$FLAVOR"; \
+ BUILD_DIR=/lib/modules/$${KERNEL}/build; \
+ sed -e "s|#DVB_DIR#|$(CURDIR)/debian/tmp/include/$$KERNEL/|" \
+ < debian/config.mak-$$FLAVOR > contrib/sasc-ng/config.mak; \
+ echo "Building sasc-ng $$VERSION - $$FLAVOR"; \
cd contrib/sasc-ng; \
- make module CC=gcc-4.6 CXX=g++-4.6; \
+ make module CC=gcc-4.6 CXX=g++-4.6 BUILD_DIR=$${BUILD_DIR}; \
make CC=gcc-4.6 CXX=g++-4.6; \
mkdir -p $(CURDIR)/debian/tmp/$$KERNEL-$$FLAVOR/bin; \
mkdir -p $(CURDIR)/debian/tmp/$$KERNEL-$$FLAVOR/modules; \
KERNELS = 3.8-trunk-amd64
KERNEL_VERSION_3.8-trunk-amd64 = 3.8.3-1~experimental.1
-
FFDECSA_FLAVORS = core2 athlon64 atom corei5
# For the moment we just support amd64