diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-22 17:30:38 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-22 17:30:38 +0000 |
commit | ea8b1fa6a60705eedc5bd4f405f45c8f531c2126 (patch) | |
tree | 96f391bf9fdc586ef29da520731d383d56d51c0f | |
parent | 8b3a0cd2cd1f2757975c9898b69333e844288bd2 (diff) | |
download | buildroot-novena-ea8b1fa6a60705eedc5bd4f405f45c8f531c2126.tar.gz buildroot-novena-ea8b1fa6a60705eedc5bd4f405f45c8f531c2126.zip |
- put LZMA into generic flags
- some additional cleanups while at it
-rw-r--r-- | target/linux/Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/Makefile.in b/target/linux/Makefile.in index fb3a71a15..b25c8f31c 100644 --- a/target/linux/Makefile.in +++ b/target/linux/Makefile.in @@ -79,12 +79,14 @@ LINUX26_PATCH_DIR:=$(BOARD_PATH)/kernel-patches/ #")) endif endif -__LINUX26_NO_PIC=-fPIC -fpic -DPIC -LINUX26_MAKE_FLAGS = HOSTCC="$(HOSTCC)" HOSTCFLAGS=$(HOSTCFLAGS) \ +__LINUX26_NO_PIC=-fPIC -fpic -DPIC -fwrapv -ftrapv +LINUX26_MAKE_FLAGS = HOSTCC="$(HOSTCC)" HOSTCFLAGS="$(HOSTCFLAGS)" \ ARCH=$(KERNEL_ARCH) \ CFLAGS_KERNEL="$(filter-out $(__LINUX26_NO_PIC),$(TARGET_CFLAGS))" \ INSTALL_MOD_PATH=$(TARGET_DIR) \ - CROSS_COMPILE=$(KERNEL_CROSS) + CROSS_COMPILE=$(KERNEL_CROSS) \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + LZMA="$(LZMA)" $(LINUX26_KCONFIG): @if [ ! -f "$(LINUX26_KCONFIG)" ] ; then \ @@ -181,7 +183,7 @@ $(LINUX26_DIR)/.depend_done: $(LINUX26_DIR)/.configured $(LINUX26_KERNEL): $(INITRAMFS_TARGET) $(BB_INITRAMFS_TARGET) \ $(LINUX26_DIR)/.depend_done - $(MAKE) $(LINUX26_MAKE_FLAGS) LZMA="$(LZMA)" \ + $(MAKE) $(LINUX26_MAKE_FLAGS) \ -C $(LINUX26_DIR) $(LINUX26_FORMAT) cp -dpf $(LINUX26_DIR)/$(LINUX26_BINLOC) $(LINUX26_KERNEL) touch -c $@ |