Changeset 9404987 in freewrt for target/linux/package/diag/Makefile


Ignore:
Timestamp:
Jul 21, 2006, 5:52:19 AM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
1d8c05f
Parents:
3438ecb2
Message:

start the WRKDIR conversion here too

package/rules.mk is still broken. I don't get this GNU make shit
tonight any more. Please use r274, I know that one works, for now.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@323 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • target/linux/package/diag/Makefile

    r3438ecb2 r9404987  
    77PKG_NAME := kmod-diag
    88PKG_RELEASE := 1
    9 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
     9WRKBUILD := $(BUILD_DIR)/$(PKG_NAME)
    1010
    1111DISTFILES:=
     
    1919                -iwithprefix include -I$(LINUX_DIR)/include -I$(LINUX_DIR)/include/asm/gcc -c -I$(LINUX_DIR)/arch/mips/bcm947xx/include -DBCMDRIVER
    2020
    21 $(PKG_BUILD_DIR)/.prepared:
    22         mkdir -p $(PKG_BUILD_DIR)
     21$(WRKBUILD)/.prepared:
     22        mkdir -p $(WRKBUILD)
    2323        touch $@
    2424
    25 $(PKG_BUILD_DIR)/.built:
    26         $(TARGET_CC) $(DIAG_FLAGS) -o $(PKG_BUILD_DIR)/diag.o diag_led.c
     25$(WRKBUILD)/.built:
     26        $(TARGET_CC) $(DIAG_FLAGS) -o $(WRKBUILD)/diag.o diag_led.c
    2727        touch $@
    2828       
    2929$(IPKG_KMOD_DIAG):
    3030        mkdir -p $(IDIR_KMOD_DIAG)/lib/modules/$(LINUX_VERSION)
    31         $(CP) $(PKG_BUILD_DIR)/diag.o $(IDIR_KMOD_DIAG)/lib/modules/$(LINUX_VERSION)/
     31        $(CP) $(WRKBUILD)/diag.o $(IDIR_KMOD_DIAG)/lib/modules/$(LINUX_VERSION)/
    3232        $(IPKG_BUILD) $(IDIR_KMOD_DIAG) $(PACKAGE_DIR)
Note: See TracChangeset for help on using the changeset viewer.