diff options
Diffstat (limited to 'target/device/Soekris')
-rw-r--r-- | target/device/Soekris/net4521/linux.mk | 24 | ||||
-rw-r--r-- | target/device/Soekris/soekris_gpio/Makefile | 22 |
2 files changed, 23 insertions, 23 deletions
diff --git a/target/device/Soekris/net4521/linux.mk b/target/device/Soekris/net4521/linux.mk index bda61788b..8e0b3be97 100644 --- a/target/device/Soekris/net4521/linux.mk +++ b/target/device/Soekris/net4521/linux.mk @@ -2,21 +2,21 @@ # # Linux kernel targets # -# Note: If you have any patches to apply, create the directory +# Note: If you have any patches to apply, create the directory # sources/kernel-patches and put your patches in there and number -# them in the order you wish to apply them... i.e. +# them in the order you wish to apply them... i.e. # -# sources/kernel-patches/001-my-special-stuff.bz2 -# sources/kernel-patches/003-gcc-Os.bz2 -# sources/kernel-patches/004_no-warnings.bz2 -# sources/kernel-patches/030-lowlatency-mini.bz2 -# sources/kernel-patches/031-lowlatency-fixes-5.bz2 -# sources/kernel-patches/099-shutup.bz2 -# etc... +# sources/kernel-patches/001-my-special-stuff.bz2 +# sources/kernel-patches/003-gcc-Os.bz2 +# sources/kernel-patches/004_no-warnings.bz2 +# sources/kernel-patches/030-lowlatency-mini.bz2 +# sources/kernel-patches/031-lowlatency-fixes-5.bz2 +# sources/kernel-patches/099-shutup.bz2 +# etc... # # these patches will all be applied by the patch-kernel.sh # script (which will also abort the build if it finds rejects) -# -Erik +# -Erik # ############################################################# ifneq ($(filter $(TARGETS),linux),) @@ -80,14 +80,14 @@ $(LINUX_KCONFIG): sleep 5; \ fi -$(LINUX_DIR)/.configured $(BUILD_DIR)/linux/.configured: $(LINUX_DIR)/.unpacked $(LINUX_KCONFIG) +$(LINUX_DIR)/.configured $(BUILD_DIR)/linux/.configured: $(LINUX_DIR)/.unpacked $(LINUX_KCONFIG) $(SED) "s,^ARCH.*,ARCH=$(LINUX_KARCH),g;" $(LINUX_DIR)/Makefile $(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" $(LINUX_DIR)/Makefile -cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config $(MAKE) PATH=$(TARGET_PATH) -C $(LINUX_DIR) oldconfig include/linux/version.h touch $(LINUX_DIR)/.configured -$(LINUX_DIR)/.depend_done: $(LINUX_DIR)/.configured +$(LINUX_DIR)/.depend_done: $(LINUX_DIR)/.configured $(MAKE) PATH=$(TARGET_PATH) -C $(LINUX_DIR) dep touch $(LINUX_DIR)/.depend_done diff --git a/target/device/Soekris/soekris_gpio/Makefile b/target/device/Soekris/soekris_gpio/Makefile index d96c9b707..ac31bbfee 100644 --- a/target/device/Soekris/soekris_gpio/Makefile +++ b/target/device/Soekris/soekris_gpio/Makefile @@ -5,32 +5,32 @@ include $(LINUX_KCONFIG) -CFLAGS =-O2 -DMODULE -D__KERNEL__ -I$(LINUX_SOURCE_DIR)/include -Wall +CFLAGS =-O2 -DMODULE -D__KERNEL__ -I$(LINUX_SOURCE_DIR)/include -Wall TARGET := gpio ifdef CONFIG_SMP CFLAGS +=-D__SMP__-DSMP endif -all: gpio.o writelcd.o +all: gpio.o writelcd.o gpio.o: common.o 4501driver.o 4801driver.o - $(LD) -r 4501driver.o 4801driver.o common.o -o gpio.o + $(LD) -r 4501driver.o 4801driver.o common.o -o gpio.o -4501gpio.o: common.o 4501driver.o - $(LD) -r 4501driver.o common.o -o 4501gpio.o +4501gpio.o: common.o 4501driver.o + $(LD) -r 4501driver.o common.o -o 4501gpio.o -4501driver.o: 4501driver.c 4501driver.h +4501driver.o: 4501driver.c 4501driver.h $(CC) $(CFLAGS) -c 4501driver.c -o 4501driver.o -4801gpio.o: common.o 4801driver.o - $(LD) -r 4801driver.o common.o -o 4801gpio.o +4801gpio.o: common.o 4801driver.o + $(LD) -r 4801driver.o common.o -o 4801gpio.o -4801driver.o: 4801driver.c 4801driver.h +4801driver.o: 4801driver.c 4801driver.h $(CC) $(CFLAGS) -c 4801driver.c -o 4801driver.o -writelcd.o: common_writelcd.o 4801driver.o 4501driver.o - $(LD) -r 4801driver.o 4501driver.o common_writelcd.o -o writelcd.o +writelcd.o: common_writelcd.o 4801driver.o 4501driver.o + $(LD) -r 4801driver.o 4501driver.o common_writelcd.o -o writelcd.o common.o: common.c common.h $(CC) $(CFLAGS) -c common.c -o common.o |